aboutsummaryrefslogtreecommitdiff
path: root/tests/1.qbt
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-02-24 17:47:39 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2024-02-24 17:47:39 +0200
commit6b5838f72fe535afb542e888d7d2d2da3571bea2 (patch)
treeaa615a75223027a87ff56c089c0c5b2cc45d00c7 /tests/1.qbt
downloadqbt-6b5838f72fe535afb542e888d7d2d2da3571bea2.tar.gz
qbt-6b5838f72fe535afb542e888d7d2d2da3571bea2.zip
initial commit
+ Now to do the actual hard parts, heh
Diffstat (limited to 'tests/1.qbt')
-rw-r--r--tests/1.qbt12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/1.qbt b/tests/1.qbt
new file mode 100644
index 0000000..e45553a
--- /dev/null
+++ b/tests/1.qbt
@@ -0,0 +1,12 @@
+/* this is a function of some kind */
+do_stuff (i27 a0, i27 a1 => i27,,)
+{
+ i27 r0 = a0 + a1;
+ /* r0 is reassigned */
+ (i27 r0, i27 r1,) = &do_more_stuff (r0, i9 29);
+ r0 < r1 -> somewhere_else;
+ => (r1,,);
+
+ somewhere_else:
+ => (r0,,);
+}