From: Gabriel Dos Reis Date: Sun, 12 Aug 2001 08:26:01 +0000 (+0000) Subject: Testcase from PR #3381 X-Git-Tag: prereleases/libstdc++-3.0.95~2712 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1910ae1527950cba932931fc392589e27351dd7d;p=thirdparty%2Fgcc.git Testcase from PR #3381 From-SVN: r44822 --- diff --git a/gcc/testsuite/g++.dg/template/explicit-instantiation.C b/gcc/testsuite/g++.dg/template/explicit-instantiation.C new file mode 100644 index 000000000000..2830625cd358 --- /dev/null +++ b/gcc/testsuite/g++.dg/template/explicit-instantiation.C @@ -0,0 +1,13 @@ +// Contributed by Gabriel Dos Reis +// Origin: Jens.Maurer@gmx.net +// { dg-do compile } + +namespace N +{ + template + class A { }; +} + +template class ::N::A; + +