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