summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/duplicate-flags.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/duplicate-flags.rs')
-rw-r--r--tests/rustdoc/duplicate-flags.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rustdoc/duplicate-flags.rs b/tests/rustdoc/duplicate-flags.rs
new file mode 100644
index 000000000..dde36df2c
--- /dev/null
+++ b/tests/rustdoc/duplicate-flags.rs
@@ -0,0 +1,4 @@
+// compile-flags: --document-private-items --document-private-items
+
+// @has duplicate_flags/struct.Private.html
+struct Private;