about summary refs log tree commit diff
diff options
context:
space:
mode:
authorskeleten <janpelle.thomson@stud.tu-darmstadt.de>2015-10-24 21:16:38 +0200
committerskeleten <janpelle.thomson@stud.tu-darmstadt.de>2015-10-24 21:23:32 +0200
commit37904063ec8a3c979617e24b37ceacdb0772bda9 (patch)
tree825ac6d5803c214a0ff8f870f114594cd7c2da4f
parente38210b195a4aaf91f3daa37dfcfd7059bd22ddc (diff)
downloadrust-37904063ec8a3c979617e24b37ceacdb0772bda9.tar.gz
rust-37904063ec8a3c979617e24b37ceacdb0772bda9.zip
adding test for #28189
-rw-r--r--src/test/run-pass/issue-28189.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/run-pass/issue-28189.rs b/src/test/run-pass/issue-28189.rs
new file mode 100644
index 00000000000..0e624a77858
--- /dev/null
+++ b/src/test/run-pass/issue-28189.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.
+
+struct S<T>(T) where [T; (||{}, 1).1]: Copy;
+
+fn main() {
+
+}