blob: 050ecf270b8031d3970f2961a5bf97f6171bc504 [file] [log] [blame]
// PR c++/79657
// { dg-do compile { target c++11 } }
enum A { x };
enum B { a = (__underlying_type (A)) 1 };
enum C { b = (__underlying_type (C)) 1 }; // { dg-error "incomplete" }