aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/test2.cff
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-07 17:12:05 +0200
committerlemon <lsof@mailbox.org>2022-08-07 17:12:05 +0200
commitb348c470ff065400ff149da6ccefa8fd8f22e9be (patch)
treedfe9f618910139c8a7e544d6d060a608aef0bf48 /bootstrap/test2.cff
parent4991e71b33a41440c50bf1b14abd857d459f2b52 (diff)
uniinitialized variables
Diffstat (limited to 'bootstrap/test2.cff')
-rw-r--r--bootstrap/test2.cff2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap/test2.cff b/bootstrap/test2.cff
index 6fbb8fa..7a61f28 100644
--- a/bootstrap/test2.cff
+++ b/bootstrap/test2.cff
@@ -16,6 +16,8 @@ extern fn main() void {
let n Node<int> = {#null, 0};
let n Node<int> = {&n, 1};
+ let x int #?;
+
printf("n %d\n", n.value);
printf("n link %d\n", n.link.value);