Fix function to pointer conversion
commit662338f116c3b87c78ddb113e8e63f6329fe307f
authorMichael Matz <matz@suse.de>
Thu, 14 Jul 2016 02:09:49 +0000 (14 04:09 +0200)
committerMichael Matz <matz@suse.de>
Thu, 15 Dec 2016 16:47:08 +0000 (15 17:47 +0100)
treebdf415f6a66394a6ffc7bcf252b44edb04a491f9
parente034853b38907440142107eb689c5dd6c6621fca
Fix function to pointer conversion

This snippet is valid:
  void foo(void);
  ... foo + 42 ...
the function designator is converted to pointer to function
implicitely.  gen_op didn't do that and bailed out.
tccgen.c
tests/tcctest.c