diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/other/crash-2.C')
-rw-r--r-- | gcc/testsuite/g++.dg/other/crash-2.C | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/testsuite/g++.dg/other/crash-2.C b/gcc/testsuite/g++.dg/other/crash-2.C deleted file mode 100644 index 3a19f3ba8ab..00000000000 --- a/gcc/testsuite/g++.dg/other/crash-2.C +++ /dev/null @@ -1,13 +0,0 @@ -// { dg-do compile }
-// { dg-options "-finline -finline-functions" }
-// Contributed by Hans Buchmann <hans dot buchmann at fhso dot ch>
-// PR c++/14033: ICE while inlining a function with incomplete parameter
-
-struct A; // { dg-error "forward declaration" }
-void foo(A a) {} // { dg-error "incomplete" }
-struct A {};
-
-void bar(void)
-{
- foo(A());
-}
|