From: Jason Merrill Date: Sat, 7 Feb 1998 17:18:39 +0000 (-0500) Subject: new X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d52dae6113fbb58cc9ad88b5288a11ddfbb049a1;p=gcc.git new From-SVN: r17764 --- 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 ();