summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/initlist43.C
blob: 72a09bdea4994df21a58f8e5ad5ab264d3696221 (plain)
1
2
3
4
5
6
7
// Test that using T{} at file scope doesn't create a static temporary.
// { dg-options -std=c++0x }
// { dg-final { scan-assembler-not "local" } }

struct A { };

A a = A{};