new
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Feb 1998 17:18:39 +0000 (17:18 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Feb 1998 17:18:39 +0000 (17:18 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17764 138bc75d-0d04-0410-961f-82ee72b054a4

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 ();