OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gcc
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr20368-3.c
diff --git
a/gcc/testsuite/gcc.dg/pr20368-3.c
b/gcc/testsuite/gcc.dg/pr20368-3.c
index
9302077
..
0d0ea6d
100644
(file)
--- a/
gcc/testsuite/gcc.dg/pr20368-3.c
+++ b/
gcc/testsuite/gcc.dg/pr20368-3.c
@@
-6,7
+6,7
@@
extern __typeof (f) g; /* { dg-error "'f' undeclared here \\(not in a function\\)" } */
int
-f (x)
- float x;
/* { dg-warning "no previous declaration for 'f'" } */
+f (x)
/* { dg-warning "no previous declaration for 'f'" } */
+ float x;
{
}