repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix typo
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
noreturn-3.c
blob
3e727d25f4a41ef39f3b067d26e1a7ce118e62f9
1
/* Check for no "noreturn" warning in main. */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -Wmissing-noreturn -fhosted" } */
4
extern
void
exit
(
int
)
__attribute__
((
__noreturn__
));
5
6
int
7
main
(
void
)
8
{
9
exit
(
0
);
10
}