diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/expectations/tests/keywords.rs | 8 | ||||
-rw-r--r-- | tests/headers/keywords.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/expectations/tests/keywords.rs b/tests/expectations/tests/keywords.rs index 055b0f00..a1e7f877 100644 --- a/tests/expectations/tests/keywords.rs +++ b/tests/expectations/tests/keywords.rs @@ -70,6 +70,14 @@ extern "C" { pub static mut as_: ::std::os::raw::c_int; } extern "C" { + #[link_name = "\u{1}async"] + pub static mut async_: ::std::os::raw::c_int; +} +extern "C" { + #[link_name = "\u{1}await"] + pub static mut await_: ::std::os::raw::c_int; +} +extern "C" { #[link_name = "\u{1}box"] pub static mut box_: ::std::os::raw::c_int; } diff --git a/tests/headers/keywords.h b/tests/headers/keywords.h index d7fe2065..3b3fc497 100644 --- a/tests/headers/keywords.h +++ b/tests/headers/keywords.h @@ -15,6 +15,8 @@ int str; int dyn; int as; +int async; +int await; int box; int crate; int false; |