Add more test cases (#1409)

This commit is contained in:
Sylvie
2024-06-17 15:07:35 -04:00
committed by GitHub
parent 9e1898238d
commit 8c3ca462fe
8 changed files with 30 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
println "hello\
+5
View File
@@ -0,0 +1,5 @@
error: character-escape-at-end.asm(1):
Illegal character escape at end of input
error: character-escape-at-end.asm(1):
Unterminated string
error: Assembly aborted (2 errors)!
+1
View File
@@ -0,0 +1 @@
hello\
+3
View File
@@ -0,0 +1,3 @@
println \1
println \<2>
println \#
+7
View File
@@ -0,0 +1,7 @@
error: macro-args-outside-macro.asm(1):
'\1' cannot be used outside of a macro
error: macro-args-outside-macro.asm(2):
'\<2>' cannot be used outside of a macro
error: macro-args-outside-macro.asm(3):
'\#' cannot be used outside of a macro
error: Assembly aborted (3 errors)!
+3
View File
@@ -0,0 +1,3 @@