mirror of
https://github.com/KarolS/millfork.git
synced 2025-01-26 20:33:02 +00:00
Segment syntax test
This commit is contained in:
parent
14a2592170
commit
fa34402749
@ -133,4 +133,14 @@ class BasicSymonTest extends FunSuite with Matchers {
|
||||
""".stripMargin)
|
||||
m.readWord(0xc000) should equal(4)
|
||||
}
|
||||
|
||||
test("Segment syntax") {
|
||||
EmuUnoptimizedRun(
|
||||
"""
|
||||
| segment(default)byte output @$c000
|
||||
| segment(default)array x[3]
|
||||
| segment(default)void main () {
|
||||
| }
|
||||
""".stripMargin)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user