ink/testing/regression/syntax/simple-stitch.ink
2026-02-27 18:25:13 -07:00

13 lines
514 B
Text

// RUN: %ink-compiler --stdin --compile-only --dump-ast < %s | FileCheck %s
// CHECK: File "<STDIN>"
// CHECK-NEXT: `--StitchDecl <line:12, line:13>
// CHECK-NEXT: |--StitchProto <col:1, col:9>
// CHECK-NEXT: | `--Identifier `stitch` <col:3, col:9>
// CHECK-NEXT: `--BlockStmt <line:13, line:13>
// CHECK-NEXT: `--ContentStmt <line:13, col:1:14>
// CHECK-NEXT: `--Content <col:1, col:14>
// CHECK-NEXT: `--StringLiteral `Hello, world!` <col:1, col:14>
= stitch
Hello, world!