diff options
Diffstat (limited to 'test cases/rust/19 structured sources/src')
-rw-r--r-- | test cases/rust/19 structured sources/src/foo.rs.in | 4 | ||||
-rw-r--r-- | test cases/rust/19 structured sources/src/main.rs | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test cases/rust/19 structured sources/src/foo.rs.in b/test cases/rust/19 structured sources/src/foo.rs.in new file mode 100644 index 0000000..4f3fc42 --- /dev/null +++ b/test cases/rust/19 structured sources/src/foo.rs.in @@ -0,0 +1,4 @@ + +pub fn bar() -> () { + println!("@message@"); +} diff --git a/test cases/rust/19 structured sources/src/main.rs b/test cases/rust/19 structured sources/src/main.rs new file mode 100644 index 0000000..3ffeee2 --- /dev/null +++ b/test cases/rust/19 structured sources/src/main.rs @@ -0,0 +1,5 @@ +mod foo; + +fn main() { + foo::bar(); +} |