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
gcc/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
type1.C
1
// { dg-do assemble }
2
// Test that using an elaborated-type-specifier in a namespace to refer
3
// to a class outside the namespace does not cause its name to be considered
4
// declared in the namespace.
5
6
// Contributed by Jason Merrill <jason@cygnus.com>
7
8
struct A { };
9
10
int A;
11
12
namespace N {
13
struct A *f ();
14
}
15
16
using namespace N;
17
18
struct A *a;