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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr40335.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-do run } */
2
 
3
extern "C" void abort (void);
4
int
5
main (void)
6
{
7
  int i = -1;
8
  switch ((signed char) i)
9
    {
10
      case 255: /* { dg-bogus "exceeds maximum value" "" { xfail *-*-* } } */
11
        abort ();
12
      default:
13
        break;
14
    }
15
}
16
 

powered by: WebSVN 2.1.0

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