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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [inline-9.c] - Diff between revs 154 and 816

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'" } */
 
 

powered by: WebSVN 2.1.0

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