Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.dg / ext / label10.C
blob632b2426ed51c2934f04eb249a71728422a9bdc5
1 // PR c++/33836
2 // { dg-do compile }
3 // { dg-options "" }
5 template<int N> struct A
7   enum { M = && N };    // { dg-error "referenced outside|cannot appear in|not an integer constant" }
8 };
10 A<0> a;
12 void foo ()
14   __label__ P;
15   enum { O = && P };    // { dg-error "cannot appear in|not an integer constant" }
16   P:;