We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76403e5 commit fcc0b3eCopy full SHA for fcc0b3e
src/test/codegen/ffi-returns-twice.rs
@@ -5,7 +5,8 @@
5
pub fn bar() { unsafe { foo() } }
6
7
extern {
8
+ // CHECK-LABEL: declare void @foo()
9
+ // CHECK-SAME: [[ATTRS:#[0-9]+]]
10
+ // CHECK-DAG: attributes [[ATTRS]] = { {{.*}}returns_twice{{.*}} }
11
#[ffi_returns_twice] pub fn foo();
12
}
-// CHECK: declare void @foo(){{.*}}#1{{.*}}
-// CHECK: attributes #1 = { {{.*}}returns_twice{{.*}} }
0 commit comments