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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [static11.C] - Blame information for rev 199

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do assemble  }
2
// Origin: Raja R Harinath 
3
 
4
enum ReservedName {
5
  rIGNORE,
6
  rINCLUDE
7
};
8
 
9
void maybeStatusKeyword()
10
{
11
  static const ReservedName statusKeywords[] = { rINCLUDE, rIGNORE };
12
  for (int i = 0; i < 2; i++) {
13
    ReservedName r = statusKeywords[i];
14
  }
15
}

powered by: WebSVN 2.1.0

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