summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-36792.rs
blob: 99ae633dd0e753c8518408f39e5a34adbd75e8c9 (plain)
1
2
3
4
5
6
7
// run-pass
fn foo() -> impl Copy {
    foo
}
fn main() {
    foo();
}