testsuite: arm: Use effective-target for pr68620 and pr78041 tests
[official-gcc.git] / 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);