Daily bump.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / enum35.C
blob126fc7f1b027772275d3d06424af72b7534c54d8
1 // PR c++/82307
2 // { dg-do run { target c++11 } }
3 // { dg-skip-if "requires hosted libstdc++ for cassert" { ! hostedlib } }
5 #include <cassert>
7 enum : unsigned long long { VAL };
9 bool foo (unsigned long long) { return true; }
10 bool foo (int) { return false; }
12 int main()
14   assert (foo(VAL));