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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20010610-1.c] - Blame information for rev 149

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

Line No. Rev Author Line
1 149 jeremybenn
/* Origin: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2
 
3
   Boolean types were not accepted as array sizes nor as switch
4
   quantities.  */
5
 
6
#include <stdbool.h>
7
 
8
int
9
main(void)
10
{
11
  bool arr[(bool)1];
12
 
13
  switch (arr[0])
14
    {
15
    default:;
16
    }
17
 
18
  return 0;
19
}

powered by: WebSVN 2.1.0

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