mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
Add testcase I meant to add in 9ee3475e09
.
This commit is contained in:
parent
c0955f0370
commit
26817cbb08
11
src/test/run-pass/type-in-nested-module.rs
Normal file
11
src/test/run-pass/type-in-nested-module.rs
Normal file
@ -0,0 +1,11 @@
|
||||
mod a {
|
||||
mod b {
|
||||
type t = int;
|
||||
fn foo() {
|
||||
let t x = 10;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {
|
||||
}
|
Loading…
Reference in New Issue
Block a user