From 425871bd90fda87dd99cbbebf159f665f252abf0 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Wed, 24 Jun 2015 00:56:53 -0700 Subject: [PATCH] Add regression test for #22375 Closes #22375 --- src/test/run-pass/issue-22375.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/test/run-pass/issue-22375.rs diff --git a/src/test/run-pass/issue-22375.rs b/src/test/run-pass/issue-22375.rs new file mode 100644 index 000000000000..c6e941d844d0 --- /dev/null +++ b/src/test/run-pass/issue-22375.rs @@ -0,0 +1,13 @@ +// 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. + +trait A> {} + +fn main() {}