q/tests/errors/UnknownStructField.q

6 lines
No EOL
45 B
Text

struct A {}
main() {
a := new(A)
a.x = 1
}