diff options
author | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2001-08-12 08:26:01 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2001-08-12 08:26:01 +0000 |
commit | 1910ae1527950cba932931fc392589e27351dd7d (patch) | |
tree | 8ae096932a1355f0007fb06e2411cc4f0587410d /gcc | |
parent | e7e0c3d41205edf1e5a0595bfc8d53f77a2df222 (diff) | |
download | gcc-1910ae1527950cba932931fc392589e27351dd7d.zip gcc-1910ae1527950cba932931fc392589e27351dd7d.tar.gz gcc-1910ae1527950cba932931fc392589e27351dd7d.tar.bz2 |
Testcase from PR #3381
From-SVN: r44822
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.dg/template/explicit-instantiation.C | 13 |
1 files changed, 13 insertions, 0 deletions
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 0000000..2830625 --- /dev/null +++ b/gcc/testsuite/g++.dg/template/explicit-instantiation.C @@ -0,0 +1,13 @@ +// Contributed by Gabriel Dos Reis <gdr@codesourcery.com> +// Origin: Jens.Maurer@gmx.net +// { dg-do compile } + +namespace N +{ + template<class T> + class A { }; +} + +template class ::N::A<int>; + + |