diff options
Diffstat (limited to 'tests/headers/noreturn.hpp')
-rw-r--r-- | tests/headers/noreturn.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/headers/noreturn.hpp b/tests/headers/noreturn.hpp new file mode 100644 index 00000000..deaa3b1a --- /dev/null +++ b/tests/headers/noreturn.hpp @@ -0,0 +1,5 @@ +// bindgen-flags: --enable-function-attribute-detection +_Noreturn void f(void); +// TODO (pvdrz): figure out how to handle this case. +__attribute__((noreturn)) void g(void); +[[noreturn]] void h(void); |