OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.ns/] [type1.C] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
// { 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 
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;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.