1 2 3 4 5 6 7 8 9 10 11 12 13
// Origin: reichelt@igpm.rwth-aachen.de // PR 5571 // { dg-options "-O2" } template <class T> struct A {}; struct B { static A<int> a; void f() { a; } }; A<int> B::a = A<int>();