blob: aac6cfba4803b2f629e0b2eca6f477a4fa8aff02 [file] [log] [blame]
class A
{ };
class B; // { dg-message "forward declaration" }
union C
{ };
union D;
void f()
{
__is_base_of(A, B); // { dg-error "incomplete type" }
__is_base_of(C, D);
}