summaryrefslogtreecommitdiffstats
path: root/src/test/ui/static/issue-24843.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/static/issue-24843.rs')
-rw-r--r--src/test/ui/static/issue-24843.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/static/issue-24843.rs b/src/test/ui/static/issue-24843.rs
new file mode 100644
index 000000000..0b3397e21
--- /dev/null
+++ b/src/test/ui/static/issue-24843.rs
@@ -0,0 +1,8 @@
+// aux-build: issue_24843.rs
+// check-pass
+
+extern crate issue_24843;
+
+static _TEST_STR_2: &'static str = &issue_24843::TEST_STR;
+
+fn main() {}