about summary refs log tree commit diff
path: root/src/test/compile-fail/E0109.rs
diff options
context:
space:
mode:
authorggomez <guillaume1.gomez@gmail.com>2016-05-25 13:58:07 +0200
committerggomez <guillaume1.gomez@gmail.com>2016-05-25 13:58:07 +0200
commit6d669b4f458a87cc5a1e4f26463edc805d7f9ead (patch)
tree3891ca6e9767ae9b5c2c1bf67b1d15e808630615 /src/test/compile-fail/E0109.rs
parent487de4208346968b17be53bd5f423156a2b6c065 (diff)
downloadrust-6d669b4f458a87cc5a1e4f26463edc805d7f9ead.tar.gz
rust-6d669b4f458a87cc5a1e4f26463edc805d7f9ead.zip
Add new error code tests
Diffstat (limited to 'src/test/compile-fail/E0109.rs')
-rw-r--r--src/test/compile-fail/E0109.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/compile-fail/E0109.rs b/src/test/compile-fail/E0109.rs
new file mode 100644
index 00000000000..9fc47842250
--- /dev/null
+++ b/src/test/compile-fail/E0109.rs
@@ -0,0 +1,14 @@
+// Copyright 2016 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.
+
+type X = u32<i32>; //~ ERROR E0109
+
+fn main() {
+}