2 // Test that g++ complains about referring to a builtin type in a
4 // Contributed by Kevin Buhr <buhr@stat.wisc.edu>
8 struct foo { // { dg-error "" } candidate
9 foo(int x) { r = 1; } // { dg-error "" } candidate
14 bar() : bar::an_int(3) {} // { dg-error "" } not a base