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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
two-types-9.c
blob
0234c55b01fb0eba63c0973dce22c8cad4f575f4
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
}