about summary refs log tree commit diff
path: root/src/test/ui/invalid-module-declaration/auxiliary/foo
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-04-24 16:26:04 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2017-04-25 12:21:28 +0200
commit3f97b2a65c31a1c53c29d233d6b37b0258e4a6b2 (patch)
treedb8df031a08f14c977c0ed7ddb57257aa1468fe0 /src/test/ui/invalid-module-declaration/auxiliary/foo
parentb10c04472bf0969d123aa4461a7f0a1a255ac660 (diff)
downloadrust-3f97b2a65c31a1c53c29d233d6b37b0258e4a6b2.tar.gz
rust-3f97b2a65c31a1c53c29d233d6b37b0258e4a6b2.zip
Add ui tests
Diffstat (limited to 'src/test/ui/invalid-module-declaration/auxiliary/foo')
-rw-r--r--src/test/ui/invalid-module-declaration/auxiliary/foo/bar.rs11
-rw-r--r--src/test/ui/invalid-module-declaration/auxiliary/foo/mod.rs11
2 files changed, 22 insertions, 0 deletions
diff --git a/src/test/ui/invalid-module-declaration/auxiliary/foo/bar.rs b/src/test/ui/invalid-module-declaration/auxiliary/foo/bar.rs
new file mode 100644
index 00000000000..4b6b4f5ebf8
--- /dev/null
+++ b/src/test/ui/invalid-module-declaration/auxiliary/foo/bar.rs
@@ -0,0 +1,11 @@
+// Copyright 2017 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.
+
+pub mod baz;
diff --git a/src/test/ui/invalid-module-declaration/auxiliary/foo/mod.rs b/src/test/ui/invalid-module-declaration/auxiliary/foo/mod.rs
new file mode 100644
index 00000000000..6d77fb60a35
--- /dev/null
+++ b/src/test/ui/invalid-module-declaration/auxiliary/foo/mod.rs
@@ -0,0 +1,11 @@
+// Copyright 2017 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.
+
+pub mod bar;