summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/source-file.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/source-file.rs')
-rw-r--r--src/test/rustdoc/source-file.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/rustdoc/source-file.rs b/src/test/rustdoc/source-file.rs
new file mode 100644
index 000000000..968899dab
--- /dev/null
+++ b/src/test/rustdoc/source-file.rs
@@ -0,0 +1,5 @@
+#![crate_name = "foo"]
+
+// @has source-files.js source-file.rs
+
+pub struct Foo;