diff options
Diffstat (limited to 'src/test/run-make/rustdoc-scrape-examples-whitespace/examples/ex.rs')
-rw-r--r-- | src/test/run-make/rustdoc-scrape-examples-whitespace/examples/ex.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/run-make/rustdoc-scrape-examples-whitespace/examples/ex.rs b/src/test/run-make/rustdoc-scrape-examples-whitespace/examples/ex.rs new file mode 100644 index 000000000..44ff689df --- /dev/null +++ b/src/test/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(); +} |