From: Jason Merrill Date: Sat, 7 Feb 1998 17:18:39 +0000 (-0500) Subject: new X-Git-Tag: prereleases/egcs-1.1-prerelease~2482 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d52dae6113fbb58cc9ad88b5288a11ddfbb049a1;p=thirdparty%2Fgcc.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 000000000000..8ac8a51bf9d9 --- /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 000000000000..9e36706711aa --- /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 ();