summaryrefslogtreecommitdiffstats
path: root/src/test/ui/invalid/invalid-debugger-visualizer-option.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/invalid/invalid-debugger-visualizer-option.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/ui/invalid/invalid-debugger-visualizer-option.rs b/src/test/ui/invalid/invalid-debugger-visualizer-option.rs
new file mode 100644
index 000000000..5645a30cc
--- /dev/null
+++ b/src/test/ui/invalid/invalid-debugger-visualizer-option.rs
@@ -0,0 +1,7 @@
+// normalize-stderr-test: "foo.random:.*\(" -> "foo.random: $$FILE_NOT_FOUND_MSG ("
+// normalize-stderr-test: "os error \d+" -> "os error $$FILE_NOT_FOUND_CODE"
+
+#![feature(debugger_visualizer)]
+#![debugger_visualizer(random_file = "../foo.random")] //~ ERROR invalid argument
+#![debugger_visualizer(natvis_file = "../foo.random")] //~ ERROR
+fn main() {}