Skip to content

Commit

Permalink
add the -- -std=c++11 flag
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdrz authored and emilio committed Sep 23, 2022
1 parent 953acc5 commit 86f059f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/headers/noreturn.hpp
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 86f059f

Please sign in to comment.