2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / parse / wrong-inline1.C
blob22b9a9768aad90ce81debec0571e0f6e10a1b59a
1 // PR c++/5921
2 // Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3 // { dg-do compile }
5 struct A
7   struct B { B(); };
8 };
10 static A::B b;
12 inline template <int i> void f (); // { dg-error "" }