Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
underlying_type12.C
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" }