2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / opt / static2.C
blobe2ecd13c57277a3d19c5d83797a67a85b79d111d
1 // Origin: reichelt@igpm.rwth-aachen.de
2 // PR 5571
3 // { dg-options "-O2" }
5 template <class T> struct A {};
7 struct B
9     static A<int> a;
10     void f() { a; }
13 A<int> B::a = A<int>();