summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/inline-10.c
blob: f7a7592a6a92011d21964d3460a45fc7b57f82a4 (plain)
1
2
3
4
5
6
/* Test inline main, gnu99 mode, freestanding, -pedantic-errors.  */
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
/* { dg-do compile } */
/* { dg-options "-std=gnu99 -ffreestanding -pedantic-errors" } */

inline int main (void) { return 1; }