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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr25183.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-pedantic" } */
3
 
4
enum err {
5
  err_IO = 0x8a450000, /* { dg-warning "int" } */
6
  err_NM,
7
  err_EOF,
8
  err_SE,
9
  err_PT
10
};
11
static enum err E_;
12
int error()
13
{
14
  switch (E_) {
15
    case err_IO : break;
16
    case err_NM : break;
17
    case err_EOF : break;
18
    case err_SE : break;
19
    case err_PT : break;
20
    default : return 0;
21
  }
22
}

powered by: WebSVN 2.1.0

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