diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-03-30 21:13:47 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-03-30 21:13:47 +0300 |
| commit | b8211cda90f8a9cb14657d3328cfa9ec78722c5c (patch) | |
| tree | 047036fd67d8b46ca2fd88b2597b03fd99fbc867 /tests | |
| parent | 78cf00cb506cb86112cb715e4d2d69ec11b20c42 (diff) | |
| download | ek-b8211cda90f8a9cb14657d3328cfa9ec78722c5c.tar.gz ek-b8211cda90f8a9cb14657d3328cfa9ec78722c5c.zip | |
change to left-to-right resolver
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); +} |
