]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/enum36.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / enum36.C
CommitLineData
eab01c18
MK
1// PR c++/82307
2// { dg-do run { target c++11 } }
3
4#include <cassert>
5
6enum : short { VAL };
7
8bool foo (int) { return true; }
9bool foo (unsigned long long) { return false; }
10
11int main()
12{
13 assert (foo (VAL));
14}
This page took 1.802248 seconds and 5 git commands to generate.