blob: c5d72faafb8365432e0cdf104fab09340d2677bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
static int val;
int set_val (void)
{
val = 5;
}
int get_val (void)
{
return val;
}
__attribute__ ((__noinline__))
do_nothing ()
{
asm volatile ("":::"memory");
}
|