about summary refs log tree commit diff
path: root/src/test/codegen/dealloc-no-unwind.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2020-09-01 17:12:52 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2021-01-13 07:49:16 -0500
commit8a3edb1d661ed5ce685bd5dcfa600b6e02897b86 (patch)
tree5615826fc30a674b49dcc89fc09ff84a1fced008 /src/test/codegen/dealloc-no-unwind.rs
parentc4a8d7f86a5d54a2f3b3875e703d06acd12ae7cc (diff)
downloadrust-8a3edb1d661ed5ce685bd5dcfa600b6e02897b86.tar.gz
rust-8a3edb1d661ed5ce685bd5dcfa600b6e02897b86.zip
Update tests for extern block linting
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(); }
     }
 }