about summary refs log tree commit diff
path: root/src/test/run-pass/smallest-hello-world.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/smallest-hello-world.rs')
-rw-r--r--src/test/run-pass/smallest-hello-world.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/run-pass/smallest-hello-world.rs b/src/test/run-pass/smallest-hello-world.rs
index 5e84ce19de1..67affb5ae09 100644
--- a/src/test/run-pass/smallest-hello-world.rs
+++ b/src/test/run-pass/smallest-hello-world.rs
@@ -22,6 +22,7 @@ extern "rust-intrinsic" { fn transmute<T, U>(t: T) -> U; }
 
 #[lang = "stack_exhausted"] extern fn stack_exhausted() {}
 #[lang = "eh_personality"] extern fn eh_personality() {}
+#[lang = "eh_unwind_resume"] extern fn eh_unwind_resume() {}
 #[lang = "panic_fmt"] fn panic_fmt() -> ! { loop {} }
 
 #[start]