Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_enum2.C
blob: de14d6abea93ac5031e09250dbe3d48d162cfc90 [
file
] [
log
] [
blame
]
// PR c++/99968
// { dg-do compile { target c++11 } }
// { dg-additional-options -g }
template
<
class
T
>
struct
A
{
using
type
=
T
;
static
const
bool
value
=
false
;
};
enum
E
{
e0
=
__is_enum
(
E
),
e1
=
A
<
E
>::
value
};