rust/tests/ui/modules/mod_dir_path2.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
193 B
Rust
Raw Normal View History

// run-pass
2016-10-12 12:54:41 -05:00
// ignore-pretty issue #37195
#[path = "mod_dir_simple"]
mod pancakes {
#[path = "test.rs"]
pub mod syrup;
}
pub fn main() {
assert_eq!(pancakes::syrup::foo(), 10);
}