about summary refs log tree commit diff
path: root/src/test/ui/threads-sendsync
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/ui/threads-sendsync
parentc4a8d7f86a5d54a2f3b3875e703d06acd12ae7cc (diff)
Update tests for extern block linting
Diffstat (limited to 'src/test/ui/threads-sendsync')
-rw-r--r--src/test/ui/threads-sendsync/thread-local-extern-static.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/threads-sendsync/thread-local-extern-static.rs b/src/test/ui/threads-sendsync/thread-local-extern-static.rs
index e10f5174b12..a2dda31aa55 100644
--- a/src/test/ui/threads-sendsync/thread-local-extern-static.rs
+++ b/src/test/ui/threads-sendsync/thread-local-extern-static.rs
@@ -11,7 +11,7 @@ extern crate thread_local_extern_static;
 use std::cell::Cell;
 
 #[cfg(target_thread_local)]
-extern {
+extern "C" {
     #[thread_local]
     static FOO: Cell<u32>;
 }