]> git.lizzy.rs Git - rust.git/blobdiff - src/test/codegen/catch-unwind.rs
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
[rust.git] / src / test / codegen / catch-unwind.rs
index 3c9bc35d1c8bd4dd4de9a4e87525a070ace88920..7ff9c0d15e003a871234cdae8908bd2e345fd3a1 100644 (file)
@@ -1,5 +1,14 @@
 // compile-flags: -O
 
+// On x86 the closure is inlined in foo() producting something like
+// define i32 @foo() [...] {
+// tail call void @bar() [...]
+// ret i32 0
+// }
+// On riscv the closure is another function, placed before fn foo so CHECK can't
+// find it
+// ignore-riscv64 FIXME
+
 #![crate_type = "lib"]
 
 extern "C" {