aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-12-23 00:53:58 -0700
committerMelody Horn <melody@boringcactus.com>2020-12-23 00:53:58 -0700
commit960e8c898dc0826d6dd5991f087fcd9d3ee6fcd1 (patch)
tree77fd2ff1fd1de6e153fe88bbaca5838ab129e098 /tests
parentc7de22f575607a7966b6b592dbf81bd3f867a2e4 (diff)
downloadreference-compiler-960e8c898dc0826d6dd5991f087fcd9d3ee6fcd1.tar.gz
reference-compiler-960e8c898dc0826d6dd5991f087fcd9d3ee6fcd1.zip
fix some typing edge cases
Diffstat (limited to 'tests')
-rw-r--r--tests/test_hello_world.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_hello_world.py b/tests/test_hello_world.py
index 0377392..89dd277 100644
--- a/tests/test_hello_world.py
+++ b/tests/test_hello_world.py
@@ -20,11 +20,11 @@ int32 main() {
expected_ssa = r"""
data $data0 = { b "Hello, world!\n", b 0 }
-export function w $main() {
+export function l $main() {
@start
%t0 =l copy $data0
call $printf(l %t0, ...)
- %t1 =w copy 0
+ %t1 =l copy 0
ret %t1
}
""".strip()