Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Copyright (C) 2017 Francis Deslauriers <francis.deslauriers@efficios.com> | |
3 | * | |
4 | * SPDX-License-Identifier: LGPL-2.1-or-later | |
5 | * | |
6 | */ | |
7 | ||
8 | #include "foo.h" | |
9 | volatile int not_a_function = 0; | |
10 | ||
11 | void __attribute__((noinline)) test_function(void); | |
12 | void __attribute__((noinline)) test_function(void) | |
13 | { | |
14 | not_a_function += 1; | |
15 | } | |
16 | ||
17 | int main(void) | |
18 | { | |
19 | test_function(); | |
20 | dynamic_symbol(42); | |
21 | return 0; | |
22 | } |