diff options
Diffstat (limited to 'tests/pretty/issue-25031.rs')
-rw-r--r-- | tests/pretty/issue-25031.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/pretty/issue-25031.rs b/tests/pretty/issue-25031.rs new file mode 100644 index 000000000..d91494891 --- /dev/null +++ b/tests/pretty/issue-25031.rs @@ -0,0 +1,8 @@ +// +// Testing that type items with where clauses output correctly. + +// pp-exact + +fn main() { + type Foo<T> where T: Copy = Box<T>; +} |