repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
type1.C
blob
a7d4c8152e0791593eaa2dfa10012e2b3e53fcf5
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;