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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
spu
/
Wmain.c
blob
58eca021bf3ff330b3f72704486723ed842ce9ca
1
/* { dg-do compile } */
2
/* { dg-options "-Wmain -mstdmain" } */
3
4
int
main
(
void
*
wrong
)
/* { dg-warning "first argument of 'main' should be 'int'" "" } */
5
{
6
/* { dg-warning "'main' takes only zero or two arguments" "" { target *-*-* } 4 } */
7
}