From b348c470ff065400ff149da6ccefa8fd8f22e9be Mon Sep 17 00:00:00 2001 From: lemon Date: Sun, 7 Aug 2022 17:12:05 +0200 Subject: uniinitialized variables --- bootstrap/test2.cff | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bootstrap/test2.cff') 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 = {#null, 0}; let n Node = {&n, 1}; + let x int #?; + printf("n %d\n", n.value); printf("n link %d\n", n.link.value); -- cgit v1.2.3