aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/defaulted24.C
blob: 32c6f2e546d714feb43308cfdd3f75bc91b03205 (plain)
1
2
3
4
5
6
// PR c++/48280
// { dg-do compile { target c++11 } }

struct S {
  template < typename > S (const S &) = default; // { dg-error "" }
};