PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / g++.dg / ext / underlying_type12.C
blob050ecf270b8031d3970f2961a5bf97f6171bc504
1 // PR c++/79657
2 // { dg-do compile { target c++11 } }
4 enum A { x };
5 enum B { a = (__underlying_type (A)) 1 };
6 enum C { b = (__underlying_type (C)) 1 }; // { dg-error "incomplete" }