Skip to content

Commit

Permalink
test: codegen: skip catch-unwind on riscv64
Browse files Browse the repository at this point in the history
It isn't clear to me if this is a bug or not, hence the FIXME
  • Loading branch information
tblah committed Jun 4, 2020
1 parent 37e8e05 commit 08529af
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/test/codegen/catch-unwind.rs
Original file line number Diff line number Diff line change
@@ -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" {
Expand Down

0 comments on commit 08529af

Please sign in to comment.