]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/pr71665-1.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr71665-1.C
1 // PR c++/71665
2 // { dg-do compile { target c++11 } }
3
4 class A
5 {
6 int f ();
7 enum { a = f }; // { dg-error "enumerator" }
8 };
This page took 0.038706 seconds and 5 git commands to generate.