Add test coverage for 'await' and 'async' keywords

Add declarations for 'await' and 'async' variables to keywords.h
and update the expectations in keywords.rs.
This commit is contained in:
Bryn M. Reeves
2022-08-01 12:17:21 +01:00
committed by Darren Kulp
parent d7c09a3d11
commit 75a79d71f3
2 changed files with 10 additions and 0 deletions
+8
View File
@@ -69,6 +69,14 @@ extern "C" {
#[link_name = "\u{1}as"]
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;
+2
View File
@@ -15,6 +15,8 @@ int str;
int dyn;
int as;
int async;
int await;
int box;
int crate;
int false;