diff options
| author | bors <bors@rust-lang.org> | 2015-05-05 04:47:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-05-05 04:47:56 +0000 |
| commit | 31e3cb7c4e8895fff23aa67e1cd6b58d798cdac4 (patch) | |
| tree | 5c8ab399eb799e89b424309a7e0226242340516a /src/test | |
| parent | 0be117e2733423e70bccd8b0a46e8eccd1e1d1cc (diff) | |
| parent | 135502ef0016fd6b17324cc1ed4e088863a97176 (diff) | |
| download | rust-31e3cb7c4e8895fff23aa67e1cd6b58d798cdac4.tar.gz rust-31e3cb7c4e8895fff23aa67e1cd6b58d798cdac4.zip | |
Auto merge of #25111 - Manishearth:rollup, r=Manishearth
r? @Manishearth
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/pretty/issue-25031.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/pretty/issue-25031.rs b/src/test/pretty/issue-25031.rs new file mode 100644 index 00000000000..6c5a847869e --- /dev/null +++ b/src/test/pretty/issue-25031.rs @@ -0,0 +1,17 @@ +// 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. +// +// Testing that type items with where clauses output correctly. + +// pp-exact + +fn main() { + type Foo<T> where T: Copy = Box<T>; +} |
