URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Test that labels at ends of compound statements are hard errors. */
|
/* Test that labels at ends of compound statements are hard errors. */
|
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
|
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "" } */
|
/* { dg-options "" } */
|
|
|
void f(void) { g: } /* { dg-bogus "warning" "warning in place of error" } */
|
void f(void) { g: } /* { dg-bogus "warning" "warning in place of error" } */
|
/* { dg-error "label|parse|syntax" "label at end of compound statement" { target *-*-* } 6 } */
|
/* { dg-error "label|parse|syntax" "label at end of compound statement" { target *-*-* } 6 } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.