summary refs log tree commit diff
path: root/src/test/run-pass/coherence-copy-bound.rs
blob: fc6c15921197864f5aa54ec723e52e6c8167f62a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
trait X {}

impl<A:Copy> A : X {}

struct S {
    x: int,
    drop {}
}

impl S : X {}

fn main(){}