mirror of
https://github.com/KarolS/millfork.git
synced 2024-09-10 11:54:30 +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…
Reference in New Issue
Block a user