]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/defaulted27.C
AArch64: Improve costing of ctz
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp0x / defaulted27.C
1 // PR c++/47544
2 // { dg-do compile { target c++11 } }
3 // { dg-final { scan-assembler "_ZN1sIiEC2Ev" } }
4 // { dg-final { scan-assembler-not "_ZN1sIiED2Ev" } }
5
6 template <typename T>
7 struct s {
8 s();
9 ~s() = default;
10 };
11
12 extern template struct s<int>;
13
14 template <typename T>
15 s<T>::s() = default;
16
17 template struct s<int>;
18
19 s<int> a;