URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Test for commas at end of enums: in C99 only. */
|
/* Test for commas at end of enums: in C99 only. */
|
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
|
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
|
/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
|
|
|
enum foo { bar, }; /* { dg-bogus "warning" "warning in place of error" } */
|
enum foo { bar, }; /* { dg-bogus "warning" "warning in place of error" } */
|
/* { dg-error "comma at end" "enum comma error" { target *-*-* } 6 } */
|
/* { dg-error "comma at end" "enum comma error" { target *-*-* } 6 } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.