2 // GROUPS passed constructors
4 // Message-Id: <9302081631.AA14744@tera.com>
5 // From: rrh@tera.com (Robert R. Henry)
6 // Date: Mon, 8 Feb 93 08:31:39 PST
7 extern "C" int printf (const char *, ...);
10 inline A(int x){printf("constructing A with %d\n", x);}
13 class B:public A{ // { dg-message "note" } non-default constructor
20 B(10);// { dg-error "match" } B doesn't have a constructor taking int
21 // { dg-message "candidate" "candidate note" { target *-*-* } 20 }