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
[NDS32] Add intrinsic functions for TLB operation and data prefech.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Wunused-value-3.c
blob
333ddea4ffd543323e42e5deb403a46eec4d4486
1
/* PR c/39889 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wunused-value" } */
4
5
int
x
;
6
int
foo
(
void
)
7
{
8
return
(
1
?
x
=
0
: (
void
)
0
),
0
;
/* { dg-bogus "value computed is not used" } */
9
}