diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-4208.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-4208.rs b/src/test/ui/issues/issue-4208.rs new file mode 100644 index 000000000..3b01811a9 --- /dev/null +++ b/src/test/ui/issues/issue-4208.rs @@ -0,0 +1,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() {} |