Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / inline-9.c
blob0f22b0805a398655ba16e08242b6869b9a8e6442
1 /* Test inline main, gnu99 mode, hosted, -pedantic-errors. */
2 /* Origin: Joseph Myers <jsm@polyomino.org.uk> */
3 /* { dg-do compile } */
4 /* { dg-options "-std=gnu99 -fhosted -pedantic-errors" } */
6 inline int main (void); /* { dg-error "error: cannot inline function 'main'" } */