Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
rtti
/
incomplete1.C
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
);
}