summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p4677.C
blob: 92f0f397a0c6dd2b1cccd22a16582005a8a8531e (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// prms-id: 4677

struct A {
  A(double d) { }
};

struct B { B(A) { } } bad = 1;		// { dg-error "" } 
B good (1);