Implemented reading from struct fields
This commit is contained in:
6
tests/errors/UnknownStructField.q
Normal file
6
tests/errors/UnknownStructField.q
Normal file
@ -0,0 +1,6 @@
|
||||
struct A {}
|
||||
|
||||
main() {
|
||||
a := new(A)
|
||||
a.x = 1
|
||||
}
|
Reference in New Issue
Block a user