comparison gcc/testsuite/g++.dg/cpp0x/pr71248.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 // PR c++/71248
2 // { dg-do compile { target c++11 } }
3
4 struct S
5 {
6 int a;
7 static int S::*typeMembers[] = { // { dg-error "20:in-class initialization" }
8 &S::a,
9 };
10 };