blob: e588d73a1683ef8f0ac8a5354b44cfffe98a0b0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// INVALID ZON — used to test error reporting on .zon files.
//
// ZON struct fields must begin with a dot followed by an identifier.
// The bare key `name` on line 8 (no leading dot) is invalid syntax.
// Any tool that parses this file (ZLS, zig build, zig fmt) should
// report an error around that line, exercising the issue matcher on
// non-.zig source files.
.{
name = "missing-dot",
.value = 1,
.ok = true,
}
|