summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/invalid.crate.name.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/invalid.crate.name.rs')
-rw-r--r--tests/rustdoc/invalid.crate.name.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/rustdoc/invalid.crate.name.rs b/tests/rustdoc/invalid.crate.name.rs
new file mode 100644
index 000000000..c19713b56
--- /dev/null
+++ b/tests/rustdoc/invalid.crate.name.rs
@@ -0,0 +1,3 @@
+// compile-flags: --crate-name foo
+
+pub fn foo() {}