summaryrefslogtreecommitdiff
path: root/test.lang
diff options
context:
space:
mode:
authorWormHeamer2025-08-09 05:58:28 -0400
committerWormHeamer2025-08-09 05:58:28 -0400
commitdeab9a5e7917f9fecbf36cf97ca9cac7910df990 (patch)
tree793d9f2ce241528137f89ad83cfffd3c3343715c /test.lang
parentce6e7ba4d5c57aa147691ec10dd4a9ee854b379d (diff)
add N_DEAD node type, and assert to help prevent use-after-free
Diffstat (limited to 'test.lang')
-rw-r--r--test.lang8
1 files changed, 0 insertions, 8 deletions
diff --git a/test.lang b/test.lang
index 5535a4e..24a931d 100644
--- a/test.lang
+++ b/test.lang
@@ -3,14 +3,6 @@ func main(a, b i64) i64 {
let t = a
a := b
b := t
- } else {
- a := 5
- b := 10
- if a = b {
- let t = a
- a := b
- b := t
- }
}
return a + b
}