Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / scoped8.C
blobc5645ee3729937b2e6cf0c02f2a4f43b27ca50d1
1 // { dg-do compile }
3 // Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5 // PR c++/10371: Incorrect tree node built in
6 // finish_non_static_data_member.
8 struct A
10     int i;                      // { dg-message "" }
13 template <int> struct B
15     int foo() { return A::i; }  // { dg-error "non-static" }
18 template struct B<0>;