summaryrefslogtreecommitdiffstats
path: root/src/test/ui/extoption_env-too-many-args.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/extoption_env-too-many-args.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/extoption_env-too-many-args.rs b/src/test/ui/extoption_env-too-many-args.rs
new file mode 100644
index 000000000..ecc8b61ac
--- /dev/null
+++ b/src/test/ui/extoption_env-too-many-args.rs
@@ -0,0 +1 @@
+fn main() { option_env!("one", "two"); } //~ ERROR: option_env! takes 1 argument