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