blob: 1b8a028d948d790eac20bcf8eb20854c6f3af606 [file] [log] [blame]
// PR c++/13981
struct A {};
struct B; // { dg-message "is incomplete" }
void func( A *a );
int main()
{
B *b = 0;
func(b); // { dg-error "cannot convert" }
}