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

View File

@@ -0,0 +1 @@
println "hello\

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)!

View File

@@ -0,0 +1 @@
hello\

View File

@@ -0,0 +1,3 @@
println \1
println \<2>
println \#

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)!

View File

@@ -0,0 +1,3 @@