Merge branch 'for-4.9/block-irq' of git://git.kernel.dk/linux-block
[cascardo/linux.git] / tools / build / feature / test-libdw-dwarf-unwind.c
1
2 #include <elfutils/libdwfl.h>
3
4 int main(void)
5 {
6         /*
7          * This function is guarded via: __nonnull_attribute__ (1, 2).
8          * Passing '1' as arguments value. This code is never executed,
9          * only compiled.
10          */
11         dwfl_thread_getframes((void *) 1, (void *) 1, NULL);
12         return 0;
13 }