about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohannes Oertel <johannes.oertel@uni-due.de>2015-05-02 11:54:19 +0200
committerJohannes Oertel <johannes.oertel@uni-due.de>2015-05-02 15:22:26 +0200
commitd0e594862c5e1044f3e38fa46c23038e95bcfbf3 (patch)
tree24d20c99c1b7403b7e09c7bca1ff941c7d1045a8
parent354d16bd72ed002d6d8abe9896f89a445a60c21f (diff)
downloadrust-d0e594862c5e1044f3e38fa46c23038e95bcfbf3.tar.gz
rust-d0e594862c5e1044f3e38fa46c23038e95bcfbf3.zip
Add regression test for #14565
Closes #14565.
-rw-r--r--src/test/run-pass/issue-14564.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/run-pass/issue-14564.rs b/src/test/run-pass/issue-14564.rs
new file mode 100644
index 00000000000..a661437a44c
--- /dev/null
+++ b/src/test/run-pass/issue-14564.rs
@@ -0,0 +1,15 @@
+// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+mod Foo { }
+struct Foo;
+impl Foo { }
+
+fn main() { }