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
In gcc/testsuite/: 2011-03-04 Nicola Pero <nicola.pero@meta-innovation.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
parse-error-2.c
blob
7ab3cd7c056e53b3195cb3ca13193801de1dcaad
1
/* PR c/28649 */
2
/* { dg-do compile } */
3
4
void
foo
()
5
{
6
+;
/* { dg-error "expected expression" } */
7
}
8
9
int
i
;
10
11
void
bar
()
12
{
13
i
++;
/* { dg-bogus "undeclared" } */
14
}