PR c++/14033
* g++.dg/other/crash-2.C: New test.
From-SVN: r77437
+2003-02-06 Giovanni Bajo <giovannibajo@gcc.gnu.org>
+
+ PR c++/14033
+ * g++.dg/other/crash-2.C: New test.
+
2003-02-06 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14028
--- /dev/null
+// { dg-do compile }\r
+// { dg-options "-finline -finline-functions" }\r
+// Contributed by Hans Buchmann <hans dot buchmann at fhso dot ch>\r
+// PR c++/14033: ICE while inlining a function with incomplete parameter\r
+\r
+struct A; // { dg-error "forward declaration" }\r
+void foo(A a) {} // { dg-error "incomplete" }\r
+struct A {};\r
+\r
+void bar(void)\r
+{\r
+ foo(A());\r
+}\r