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
Let tree_single_nonzero_warnv_p use range information
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
two-types-9.c
blob
c6da9499226a6749f461ed3eec05844b4445c717
1
/* { dg-do compile } */
2
/* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
3
4
struct
f
{}
5
static int
a
,
b
;
/* { dg-error "expected ';', identifier or " "" } */
6
7
int
f
()
8
{
9
return
a
-
b
;
/* { dg-bogus "invalid operands " "" } */
10
}