Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / other / crash-2.C
blob961a18a2384fcd75cd085ed7c876df58f6878d7c
1 // { dg-do compile }
2 // { dg-options "-finline -finline-functions" }
3 // Contributed by Hans Buchmann <hans dot buchmann at fhso dot ch>
4 // PR c++/14033: ICE while inlining a function with incomplete parameter
6 struct A;           // { dg-error "forward declaration" }
7 void foo(A a) {}    // { dg-error "incomplete" }
8 struct A {};
10 void bar(void)
12  foo(A());