1
Fork 0

Add more codegen tests

This commit is contained in:
Nilstrieb 2022-12-30 21:11:30 +01:00 committed by nils
parent af23ad93cd
commit f1255380ac
26 changed files with 166 additions and 139 deletions

View file

@ -15,8 +15,8 @@ extern crate extern_decl;
// it to be marked `dso_local` as well, given the static relocation model.
//
// CHECK: @extern_static = external dso_local local_unnamed_addr global i8
// CHECK: define dso_local i8 @access_extern() {{.*}}
// CHECK: declare dso_local i8 @extern_fn() {{.*}}
// CHECK: define dso_local noundef i8 @access_extern() {{.*}}
// CHECK: declare dso_local noundef i8 @extern_fn() {{.*}}
#[no_mangle]
pub fn access_extern() -> u8 {