]> gcc.gnu.org Git - gcc.git/blame - 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
CommitLineData
f064da6a
PC
1// PR c++/71665
2// { dg-do compile { target c++11 } }
3
4class A
5{
6 int f ();
7 enum { a = f }; // { dg-error "enumerator" }
8};
This page took 2.902267 seconds and 5 git commands to generate.