We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf2c5d3 commit d0fddd3Copy full SHA for d0fddd3
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