about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-06-24 18:11:39 +0000
committerbors <bors@rust-lang.org>2015-06-24 18:11:39 +0000
commite2c273f1bb3a7f3d11097533ff59460ef8a9a5c6 (patch)
tree3699e50d55cd1ac3d6f1f81c168ae06df4063607 /src
parenta6430925b435d5c27bb7fb4088dee06817c83d87 (diff)
parent425871bd90fda87dd99cbbebf159f665f252abf0 (diff)
downloadrust-e2c273f1bb3a7f3d11097533ff59460ef8a9a5c6.tar.gz
rust-e2c273f1bb3a7f3d11097533ff59460ef8a9a5c6.zip
Auto merge of #26536 - frewsxcv:regression-test-22375, r=alexcrichton
Closes #22375
Diffstat (limited to 'src')
-rw-r--r--src/test/run-pass/issue-22375.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/run-pass/issue-22375.rs b/src/test/run-pass/issue-22375.rs
new file mode 100644
index 00000000000..c6e941d844d
--- /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 <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.
+
+trait A<T: A<T>> {}
+
+fn main() {}