From: Jason Merrill Date: Tue, 14 Jul 1998 16:20:47 +0000 (-0400) Subject: x X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e03f7a0e96ab9f499abeadcd6cecbfedb3c62d42;p=gcc.git x From-SVN: r21146 --- diff --git a/gcc/testsuite/g++.old-deja/g++.ns/ns16.C b/gcc/testsuite/g++.old-deja/g++.ns/ns16.C new file mode 100644 index 00000000000..1f04ae82ffb --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.ns/ns16.C @@ -0,0 +1,14 @@ +// Build don't link: + +class Y { +public: + void operator +(int) const; +}; + +namespace X { + extern Y const& z; +} + +void f(void) { + X::z + 1; +} diff --git a/gcc/testsuite/g++.old-deja/g++.ns/template4.C b/gcc/testsuite/g++.old-deja/g++.ns/template4.C new file mode 100644 index 00000000000..dd3244449f0 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.ns/template4.C @@ -0,0 +1,17 @@ +namespace NS +{ +template +void solver (){} + +} + +template +void solver(){} + +int main() +{ + solver(); + NS::solver(); +} + + diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explicit69.C b/gcc/testsuite/g++.old-deja/g++.pt/explicit69.C index 671cf005de5..f42b96d55b2 100644 --- a/gcc/testsuite/g++.old-deja/g++.pt/explicit69.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/explicit69.C @@ -1,2 +1,2 @@ //Build don't link: -template class x {}; // ERROR - not a template instantiation +template class x {}; // ERROR - not a template instantiation XFAIL *-*-*