blob: 2bf46e079827362a6f468e097e1d784a25233741 [file] [log] [blame]
// PR c++/28109
// { dg-do compile }
#include <typeinfo>
struct A;
void foo()
{
A a; // { dg-error "incomplete type" }
typeid (a);
}