diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/resolve.cu | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/resolve.cu b/tests/resolve.cu new file mode 100644 index 0000000..abe9fe5 --- /dev/null +++ b/tests/resolve.cu @@ -0,0 +1,10 @@ +typedef A {} + +/* wow this works pretty good */ +some_func(c A, d typeof c, e i64){c;} +some_func(c A, d typeof c, e typeof d){d;} +some_func(c A, d typeof c, e A){e;} + +main(){ + some_func(20 as f32, 20 as f32, 20 as f64); +} |
