From 37904063ec8a3c979617e24b37ceacdb0772bda9 Mon Sep 17 00:00:00 2001 From: skeleten Date: Sat, 24 Oct 2015 21:16:38 +0200 Subject: [PATCH] adding test for #28189 --- src/test/run-pass/issue-28189.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/test/run-pass/issue-28189.rs 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +struct S(T) where [T; (||{}, 1).1]: Copy; + +fn main() { + +}