URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 384 |
/* Test for implicit int: in C90 only. */
|
/* Test for implicit int: in C90 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:1999 -pedantic-errors" } */
|
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
|
|
|
extern foo; /* { dg-bogus "warning" "warning in place of error" } */
|
extern foo; /* { dg-bogus "warning" "warning in place of error" } */
|
/* { dg-error "type defaults" "C99 implicit int error" { target *-*-* } 6 } */
|
/* { dg-error "type defaults" "C99 implicit int error" { target *-*-* } 6 } */
|
bar (void) { } /* { dg-bogus "warning" "warning in place of error" } */
|
bar (void) { } /* { dg-bogus "warning" "warning in place of error" } */
|
/* { dg-error "return type defaults" "C99 implicit int error" { target *-*-* } 8 } */
|
/* { dg-error "return type defaults" "C99 implicit int error" { target *-*-* } 8 } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.