* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-static12.C
blob4faa8cfd108c89ade9cef39dac7f99cca673830c
1 // { dg-do compile { target c++11 } }
2 // { dg-final { scan-assembler-not "_ZNSt10unique_ptrC1Ei" } }
4 namespace std {
5   struct unique_ptr {
6     constexpr unique_ptr(int) : p() { }
7     ~unique_ptr() { }
8     void* p;
9   };
12 void f()
14   static std::unique_ptr p(1);
17 int main()
19   f();