summaryrefslogtreecommitdiffstats
path: root/src/test/ui/extenv/extenv-arg-2-not-string-literal.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/extenv/extenv-arg-2-not-string-literal.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/extenv/extenv-arg-2-not-string-literal.rs b/src/test/ui/extenv/extenv-arg-2-not-string-literal.rs
new file mode 100644
index 000000000..66dced478
--- /dev/null
+++ b/src/test/ui/extenv/extenv-arg-2-not-string-literal.rs
@@ -0,0 +1 @@
+fn main() { env!("one", 10); } //~ ERROR: expected string literal