From 26817cbb0830a37d2bfedbde03defaea1e90e25b Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Mon, 3 Jan 2011 13:54:55 -0800 Subject: [PATCH] Add testcase I meant to add in 9ee3475e09c8fce81b5b06365a7f70d029a80155. --- src/test/run-pass/type-in-nested-module.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/test/run-pass/type-in-nested-module.rs diff --git a/src/test/run-pass/type-in-nested-module.rs b/src/test/run-pass/type-in-nested-module.rs new file mode 100644 index 00000000000..6eaff11e570 --- /dev/null +++ b/src/test/run-pass/type-in-nested-module.rs @@ -0,0 +1,11 @@ +mod a { + mod b { + type t = int; + fn foo() { + let t x = 10; + } + } +} + +fn main() { +} \ No newline at end of file