Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
);
}