]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/enum34.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / enum34.C
CommitLineData
70caf430
VR
1// { dg-options "-fdiagnostics-show-caret" }
2// { dg-do compile { target c++11 } }
3
4enum class E;
5
6enum class E e; /* { dg-warning "scoped enum must not use" }
7 { dg-begin-multiline-output "" }
8 enum class E e;
9 ~~~~ ^~~~~
10 -----
11 { dg-end-multiline-output "" } */
This page took 2.038918 seconds and 5 git commands to generate.