1 // Test that using T{} at file scope doesn't create a static temporary. 2 // { dg-do compile { target c++11 } } 3 // { dg-final { scan-assembler-not "local" } } 4 5 struct A { }; 6 7 A a = A{}; 8