mescc: Tinycc support: pointer arithmetic with &variable.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 25 Aug 2017 04:58:15 +0000 (06:58 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 25 Aug 2017 04:58:15 +0000 (06:58 +0200)
commit8649f7a923acf62a478349328c31ec9abb15038b
tree7faf3ecd1967dc168f5eac0791fcf22d6a1d837d
parent0875ce655a50c470a302a093dcc13260ca764b37
mescc: Tinycc support: pointer arithmetic with &variable.

* module/language/c99/compiler.mes (expr->pointer): Handle ref.
* scaffold/tests/76-pointer-arithmetic.c: Test it.
module/language/c99/compiler.mes
scaffold/tests/76-pointer-arithmetic.c