summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-4208.rs
blob: 3b01811a9e80e09b7d7c54ac661f73b4900bc96d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// run-pass
#![allow(dead_code)]
// aux-build:issue-4208-cc.rs

// pretty-expanded FIXME #23616

extern crate numeric;
use numeric::{sin, Angle};

fn foo<T, A:Angle<T>>(theta: A) -> T { sin(&theta) }

pub fn main() {}