libgo: update to Go1.10beta1
[official-gcc.git] / gcc / testsuite / c-c++-common / Wunused-var-2.c
blob281825900b521844a27d83afeaef74829d2b8027
1 /* { dg-do compile } */
2 /* { dg-options "-Wunused" } */
4 int
5 f1 (void)
7 int c = ({
8 int a;
9 a = 1;
10 a; });
11 return c;
14 void
15 f2 (void)
17 int f;
18 f = 0;
19 __asm__ __volatile__ ("" : "+r" (f));