1 // compile-flags: -C no-prepopulate-passes
3 #![feature(ffi_returns_twice)]
5 pub fn bar() { unsafe { foo() } }
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();