mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-23 00:51:00 +08:00
parent
e7e0c3d412
commit
1910ae1527
13
gcc/testsuite/g++.dg/template/explicit-instantiation.C
Normal file
13
gcc/testsuite/g++.dg/template/explicit-instantiation.C
Normal file
@ -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>;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user