blob: ae8a8767d2746f62b64b5852ce2dcfc6f4c6237a (
plain)
1
2
3
4
5
6
7
8
9
|
// run-pass
// Test that we are able to have an impl that defines an associated type
// before the actual trait.
// pretty-expanded FIXME #23616
impl X for f64 { type Y = isize; }
trait X { type Y; }
fn main() {}
|