OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
530c03f2afc22ced3eba0b95d422a3f7830638f1
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.target
/
spu
/
Wmain.c
1
/* { dg-do compile } */
2
/* { dg-options "-Wmain -mstdmain" } */
3
4
int main (void *wrong)
5
{ /* { dg-warning "first argument of 'main' should be 'int'" "" } */
6
/* { dg-warning "'main' takes only zero or two arguments" "" { target *-*-* } 5 } */
7
}