diff options
Diffstat (limited to 'tests/ui/item-name-overload.rs')
-rw-r--r-- | tests/ui/item-name-overload.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/ui/item-name-overload.rs b/tests/ui/item-name-overload.rs new file mode 100644 index 000000000..c8a302a2c --- /dev/null +++ b/tests/ui/item-name-overload.rs @@ -0,0 +1,17 @@ +// run-pass + +#![allow(dead_code)] + + + +// pretty-expanded FIXME #23616 + +mod foo { + pub fn baz() { } +} + +mod bar { + pub fn baz() { } +} + +pub fn main() { } |