diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-4875.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-4875.rs b/src/test/ui/issues/issue-4875.rs new file mode 100644 index 000000000..8d361314f --- /dev/null +++ b/src/test/ui/issues/issue-4875.rs @@ -0,0 +1,15 @@ +// run-pass +#![allow(dead_code)] +// regression test for issue 4875 + +// pretty-expanded FIXME #23616 + +pub struct Foo<T> { + data: T, +} + +fn foo<T>(Foo{..}: Foo<T>) { +} + +pub fn main() { +} |