Merge from branches/gcc-4_8-branch up to rev 207411.
[official-gcc.git] / gcc-4_8-branch / gcc / testsuite / g++.dg / rtti / incomplete1.C
blob2bf46e079827362a6f468e097e1d784a25233741
1 // PR c++/28109
2 // { dg-do compile }
4 #include <typeinfo>
6 struct A;
8 void foo()
10   A a;  // { dg-error "incomplete type" }
11   typeid (a);