blob: 0c33241bf9835eddac00de5c12d49abcdd9f3fb0 [file] [log] [blame]
// PR c++/71665
// { dg-do compile { target c++11 } }
class A
{
int f ();
enum { a = f }; // { dg-error "enumerator" }
};