Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / enum34.C
blob6bc72de8f984023448678e62ec7a57ca01553329
1 // { dg-options "-fdiagnostics-show-caret" }
2 // { dg-do compile { target c++11 } }
4 enum class E;
6 enum 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 "" } */