diff options
Diffstat (limited to 'tests/rustdoc/test_option_check/test.rs')
| -rw-r--r-- | tests/rustdoc/test_option_check/test.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/rustdoc/test_option_check/test.rs b/tests/rustdoc/test_option_check/test.rs new file mode 100644 index 00000000000..964e8e37ed5 --- /dev/null +++ b/tests/rustdoc/test_option_check/test.rs @@ -0,0 +1,18 @@ +// compile-flags: --test +// check-test-line-numbers-match + +pub mod bar; + +/// This is a Foo; +/// +/// ``` +/// println!("baaaaaar"); +/// ``` +pub struct Foo; + +/// This is a Bar; +/// +/// ``` +/// println!("fooooo"); +/// ``` +pub struct Bar; |
