repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
freestanding-nonint-main.C
blob
a8571cc6f0b886b8e707cab48001c20fef89b918
1
/* Check that we get the right warning for nonint main in freestanding. */
2
/* { dg-do compile } */
3
/* { dg-options "-ffreestanding -Wreturn-type" } */
4
5
const char *main() {} /* { dg-warning "-Wreturn-type" } */