new
authorJason Merrill <jason@gcc.gnu.org>
Sat, 7 Feb 1998 17:18:39 +0000 (12:18 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 7 Feb 1998 17:18:39 +0000 (12:18 -0500)
From-SVN: r17764

gcc/testsuite/g++.old-deja/g++.pt/const1.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/ctor1.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.old-deja/g++.pt/const1.C b/gcc/testsuite/g++.old-deja/g++.pt/const1.C
new file mode 100644 (file)
index 0000000..8ac8a51
--- /dev/null
@@ -0,0 +1,4 @@
+// Build don't link:
+template <class T> struct B { static const int i = 3; };
+template <class T> struct A { static const int i = B<T>::i; };
+enum { i = A<int>::i };
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ctor1.C b/gcc/testsuite/g++.old-deja/g++.pt/ctor1.C
new file mode 100644 (file)
index 0000000..9e36706
--- /dev/null
@@ -0,0 +1,10 @@
+// Build don't link:
+
+template <typename _CharT>
+  struct moneypunct
+{
+   moneypunct (); 
+};
+
+template <>
+  moneypunct<char>::moneypunct ();