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
Corrected date in changelog
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
parse-decl-after-if.c
blob
09afa37b472d17cc622482c80517705229f5a811
1
/* Parse error recovery
2
{ dg-do compile }
3
{ dg-options "-fsyntax-only" }
4
*/
5
6
void
f
(
int
x
)
7
{
8
if
(
x
>
1
)
9
int
ret
=
1
;
/* { dg-error "expected expression before 'int'" } */
10
11
}