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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
gcc.dg
/
pr14765-1.c
blob
d2b341839cec43a4fb9cd3488d73338f41cbe9c6
1
/* Empty statement expressions should get void type. Bug 14765 from
2
Serge Belyshev <belyshev@lubercy.com>. */
3
/* { dg-do compile } */
4
/* { dg-options "" } */
5
6
int
a
;
7
void
fun
()
8
{
9
a
=
0
;
10
a
= ({});
/* { dg-error "not ignored" "void stmt expr" } */
11
}