x
authorJason Merrill <jason@gcc.gnu.org>
Fri, 24 Jul 1998 14:58:19 +0000 (10:58 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 24 Jul 1998 14:58:19 +0000 (10:58 -0400)
From-SVN: r21365

gcc/testsuite/g++.old-deja/g++.other/typedef4.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/partial2.C

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 (file)
index 0000000..8b5ba49
--- /dev/null
@@ -0,0 +1,9 @@
+// Build don't link:
+
+struct A {
+  void f ();
+};
+
+typedef A foo;
+
+void foo::f() { }
index 99485347b94c161a29f2bb58178139991068031f..cdf2199b012f216412245bffa7b55347e6b3cac4 100644 (file)
@@ -14,10 +14,10 @@ typedef unsigned int other1_t;
 template<class T> struct foo3 {};
 template<class T, other1_t n> struct foo3<T[n]>;
 foo3<char> bar3;
-foo3<char[10]> baz3; // ERROR - incomplete type - XFAIL *-*-*
+foo3<char[10]> baz3; // ERROR - incomplete type - 
 
 typedef int other2_t;
 template<class T> struct foo4 {};
 template<class T, other1_t n> struct foo4<T[n]>;
 foo4<char> bar4;
-foo4<char[10]> baz4; // ERROR - incomplete type - XFAIL *-*-*
+foo4<char[10]> baz4; // ERROR - incomplete type -