OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/54325
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
scope1.C
1
// { dg-do compile }
2
3
// Copyright (C) 2000 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 30 Nov 2001 <nathan@nathan@codesourcery.com>
5
6
// PR 3381
7
8
namespace N {
9
template<class T>
10
class A { };
11
}
12
13
template class N::A<unsigned>; // this works (by itself)
14
template class ::N::A<int>; // but this doesn't