From b8211cda90f8a9cb14657d3328cfa9ec78722c5c Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 30 Mar 2023 21:13:47 +0300 Subject: change to left-to-right resolver --- tests/resolve.cu | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/resolve.cu (limited to 'tests/resolve.cu') 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); +} -- cgit v1.3