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 index 00000000000..8ac8a51bf9d --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/const1.C @@ -0,0 +1,4 @@ +// Build don't link: +template struct B { static const int i = 3; }; +template struct A { static const int i = B::i; }; +enum { i = A::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 index 00000000000..9e36706711a --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/ctor1.C @@ -0,0 +1,10 @@ +// Build don't link: + +template + struct moneypunct +{ + moneypunct (); +}; + +template <> + moneypunct::moneypunct ();