summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generics/generic-type-synonym.rs
blob: 4f181fbcc7e38b7040970da4a287ef910d0d457b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// run-pass
#![allow(dead_code)]


// pretty-expanded FIXME #23616

struct Foo<T> {
    a: T
}

type Bar<T> = Foo<T>;

fn takebar<T>(_b: Bar<T>) { }

pub fn main() { }