1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-07-05 09:28:54 +00:00

Segment syntax test

This commit is contained in:
Karol Stasiak 2018-03-17 13:49:37 +01:00
parent 14a2592170
commit fa34402749

View File

@ -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)
}
}