]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/pr71248.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr71248.C
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 };
This page took 0.039885 seconds and 5 git commands to generate.