* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / explicit11.C
blob06d607f1a98c529d6464cf5d07b863c3ec988d46
1 // Test that we treat defaulted-in-class members like implicitly declared
2 // members for explicit instantiation.
4 // { dg-do compile { target c++11 } }
6 template<typename T>
7 struct A
9   T x;
10   A() = default;
11   A(const A &other) = default;
12   A& operator=(const A&) = default;
15 template class A<int>;
17 // { dg-final { scan-assembler-not "_ZN1AIiEC1Ev" } }
18 // { dg-final { scan-assembler-not "_ZN1AIiEC1ERKS0_" } }
19 // { dg-final { scan-assembler-not "_ZN1AIiEaSERKS0_" } }