summaryrefslogtreecommitdiffstats
path: root/src/test/ui/statics/issue-14227.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/statics/issue-14227.rs')
-rw-r--r--src/test/ui/statics/issue-14227.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/statics/issue-14227.rs b/src/test/ui/statics/issue-14227.rs
deleted file mode 100644
index 5f866ec90..000000000
--- a/src/test/ui/statics/issue-14227.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-// revisions: mir thir
-// [thir]compile-flags: -Z thir-unsafeck
-
-extern "C" {
- pub static symbol: u32;
-}
-static CRASH: u32 = symbol;
-//~^ ERROR use of extern static is unsafe and requires
-
-fn main() {}