summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/defaulted24.C
blob: 307bf94ab850025512f2788a119e0e812907afad (plain)
1
2
3
4
5
6
// PR c++/48280
// { dg-options -std=c++0x }

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