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
2008-01-25 Douglas Gregor <doug.gregor@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Wimplicit-function-declaration-c99-pedantic.c
blob
05cca9a2b8d2b1d4c75ff50c26060f0841f217a3
1
/* { dg-do compile } */
2
/* { dg-options "-std=c99 -pedantic-errors -Wall" } */
3
4
void
f
(
void
)
5
{
6
puts
(
"Hello"
);
/* { dg-error "implicit declaration of function" } */
7
}