Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/Wunused-var-2.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 (2020-05-25) |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-Wunused" } */ | |
3 | |
4 int | |
5 f1 (void) | |
6 { | |
7 int a; | |
8 int b; | |
9 int c; | |
10 int d; | |
11 int e; | |
12 a = 1; | |
13 b = 2; | |
14 c = 3; | |
15 d = 4; | |
16 e = 5; | |
17 return sizeof (a) + ((__typeof (b)) 1) + __alignof__ (c) | |
18 + __builtin_choose_expr (1, d, e); | |
19 } |