* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / enum19.C
blobb04fd523f071ac440aa5fd1df4312b4f92fb115d
1 // We shouldn't give an ABI warning about promotion in switch.
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-fabi-version=5 -Wabi" }
5 enum class Foo { X };
6 void test(Foo val)
8     switch(val)
9     {
10     case Foo::X:
11         break;
12     }