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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [ambig6.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/48046
2
 
3
namespace N1 { typedef int   T; } // { dg-error "" }
4
namespace N2 { typedef float T; } // { dg-error "" }
5
 
6
int main()
7
{
8
  using namespace N1;
9
  using namespace N2;
10
 
11
  static T t;                   // { dg-error "" }
12
}

powered by: WebSVN 2.1.0

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