about summary refs log tree commit diff
path: root/src/test/codegen/dealloc-no-unwind.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/codegen/dealloc-no-unwind.rs')
-rw-r--r--src/test/codegen/dealloc-no-unwind.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/dealloc-no-unwind.rs b/src/test/codegen/dealloc-no-unwind.rs
index ff21b4caa83..f047c7a180c 100644
--- a/src/test/codegen/dealloc-no-unwind.rs
+++ b/src/test/codegen/dealloc-no-unwind.rs
@@ -8,7 +8,7 @@ struct A;
 
 impl Drop for A {
     fn drop(&mut self) {
-        extern { fn foo(); }
+        extern "C" { fn foo(); }
         unsafe { foo(); }
     }
 }