blob: 0f22b0805a398655ba16e08242b6869b9a8e6442 [file] [log] [blame]
/* Test inline main, gnu99 mode, hosted, -pedantic-errors. */
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
/* { dg-do compile } */
/* { dg-options "-std=gnu99 -fhosted -pedantic-errors" } */
inline int main (void); /* { dg-error "error: cannot inline function 'main'" } */