blob: 235a1b51d3e4c84128111694d6236c1597854941 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
extern int __start___verbose[];
extern int __stop___verbose[];
int
foo1 (void)
{
static int my_var[5] __attribute__((used, section("__verbose")))
= { 5, 4, 3, 2, 1 };
if (__start___verbose == __stop___verbose
|| __start___verbose[0] != 5)
return -1;
else
return 0;
}
|