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
builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
wmain.c
blob
06fc26fd398127f594afd5000f5f2bbb82402c23
1
/* { dg-do compile } */
2
/* { dg-options "-Wall" } */
3
4
int
main
;
/* { dg-warning "'main' is usually a function" } */
5
6
int
foo
()
7
{
8
int
main
=
1
;
/* { dg-bogus "'main' is usually a function" } */
9
return
main
;
10
}