Implemented type checks
This commit is contained in:
7
tests/errors/TypeMismatch.q
Normal file
7
tests/errors/TypeMismatch.q
Normal file
@ -0,0 +1,7 @@
|
||||
main() {
|
||||
writeToMemory(0)
|
||||
}
|
||||
|
||||
writeToMemory(p Pointer) {
|
||||
p[0] = 'A'
|
||||
}
|
Reference in New Issue
Block a user