Debian Codegraph @

gcc/testsuite/g++.dg/ext/is_enum2.C

raw
1 // PR c++/99968
2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options -g }
4
5 template <class T> struct A {
6 using type = T;
7 static const bool value = false;
8 };
9
10 enum E { e0 = __is_enum(E), e1 = A<E>::value };