URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* Test inline main, gnu99 mode, hosted, -pedantic-errors. */
|
/* Test inline main, gnu99 mode, hosted, -pedantic-errors. */
|
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
|
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-std=gnu99 -fhosted -pedantic-errors" } */
|
/* { dg-options "-std=gnu99 -fhosted -pedantic-errors" } */
|
|
|
inline int main (void); /* { dg-error "error: cannot inline function 'main'" } */
|
inline int main (void); /* { dg-error "error: cannot inline function 'main'" } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.