// Origin: reichelt@igpm.rwth-aachen.de // PR 5571 // { dg-options "-O2" } template struct A {}; struct B { static A a; void f() { a; } }; A B::a = A();