PR target/84226
[official-gcc.git] / gcc / testsuite / gcc.target / avr / pr71151-common.h
blob43379be5d2c65ded551d72bed004cd1f80526014
1 volatile char y;
2 volatile char g;
4 __attribute__((section(SECTION_NAME)))
5 void foo(char x)
7 switch (x)
9 case 0:
10 y = 67; break;
11 case 1:
12 y = 20; break;
13 case 2:
14 y = 109; break;
15 case 3:
16 y = 33; break;
17 case 4:
18 y = 44; break;
19 case 5:
20 y = 37; break;
21 case 6:
22 y = 10; break;
23 case 7:
24 y = 98; break;
26 y = y + g;