diff options
Diffstat (limited to 'tests/run-make/rustdoc-scrape-examples-whitespace/examples/ex.rs')
-rw-r--r-- | tests/run-make/rustdoc-scrape-examples-whitespace/examples/ex.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/run-make/rustdoc-scrape-examples-whitespace/examples/ex.rs b/tests/run-make/rustdoc-scrape-examples-whitespace/examples/ex.rs new file mode 100644 index 000000000..44ff689df --- /dev/null +++ b/tests/run-make/rustdoc-scrape-examples-whitespace/examples/ex.rs @@ -0,0 +1,8 @@ +struct Foo; +impl Foo { + fn bar() { foobar::ok(); } +} + +fn main() { + Foo::bar(); +} |