From: Jason Merrill Date: Fri, 24 Jul 1998 14:58:19 +0000 (-0400) Subject: x X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67152996a3ceb720ff5070ccd7f9f0afe0536cf5;p=gcc.git x From-SVN: r21365 --- diff --git a/gcc/testsuite/g++.old-deja/g++.other/typedef4.C b/gcc/testsuite/g++.old-deja/g++.other/typedef4.C new file mode 100644 index 00000000000..8b5ba499406 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/typedef4.C @@ -0,0 +1,9 @@ +// Build don't link: + +struct A { + void f (); +}; + +typedef A foo; + +void foo::f() { } diff --git a/gcc/testsuite/g++.old-deja/g++.pt/partial2.C b/gcc/testsuite/g++.old-deja/g++.pt/partial2.C index 99485347b94..cdf2199b012 100644 --- a/gcc/testsuite/g++.old-deja/g++.pt/partial2.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/partial2.C @@ -14,10 +14,10 @@ typedef unsigned int other1_t; template struct foo3 {}; template struct foo3; foo3 bar3; -foo3 baz3; // ERROR - incomplete type - XFAIL *-*-* +foo3 baz3; // ERROR - incomplete type - typedef int other2_t; template struct foo4 {}; template struct foo4; foo4 bar4; -foo4 baz4; // ERROR - incomplete type - XFAIL *-*-* +foo4 baz4; // ERROR - incomplete type -