summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Poveda <christian.poveda@ferrous-systems.com>2022-09-01 16:24:38 -0500
committerEmilio Cobos Álvarez <emilio@crisal.io>2022-09-22 20:25:33 -1000
commit86f059f081160ba01de31fc2ec6e20e52b97968d (patch)
treeb45300b60477965be9f7043205dc91e350f890e0 /tests
parent953acc526a808dac53660cee79c68d15ac309a63 (diff)
add the `-- -std=c++11` flag
Diffstat (limited to 'tests')
-rw-r--r--tests/headers/noreturn.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/headers/noreturn.hpp b/tests/headers/noreturn.hpp
index deaa3b1a..4ce1e11e 100644
--- a/tests/headers/noreturn.hpp
+++ b/tests/headers/noreturn.hpp
@@ -1,5 +1,4 @@
-// bindgen-flags: --enable-function-attribute-detection
+// bindgen-flags: --enable-function-attribute-detection -- -std=c++11
_Noreturn void f(void);
-// TODO (pvdrz): figure out how to handle this case.
__attribute__((noreturn)) void g(void);
[[noreturn]] void h(void);