package prog8tests.ast import io.kotest.core.spec.style.FunSpec import io.kotest.matchers.shouldBe import io.kotest.matchers.shouldNotBe import prog8.ast.IFunctionCall import prog8.ast.expressions.IdentifierReference import prog8.ast.expressions.StringLiteral import prog8.ast.statements.InlineAssembly import prog8.ast.statements.VarDecl import prog8.code.core.Position import prog8.code.target.C64Target import prog8.compiler.printProgram import prog8tests.helpers.compileText class TestVarious: FunSpec({ test("symbol names in inline assembly blocks") { val names1 = InlineAssembly(""" """, Position.DUMMY).names names1 shouldBe emptySet() val names2 = InlineAssembly(""" label: lda #