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