aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/defaulted25.C
blob: 644fe1bb9dd6ef93533ad24572b4786b8c117a8a (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/48930
// { dg-do compile { target c++11 } }
// { dg-prune-output "note" }

struct A
{
  A(const A&) = default;
};

A a;				// { dg-error "no match" }