diff options
Diffstat (limited to 'tcc.c')
| -rw-r--r-- | tcc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -7799,6 +7799,9 @@ static void expr_eq(void) } else if (bt1 == VT_PTR || bt2 == VT_PTR) { /* XXX: test pointer compatibility */ type = type1; + } else if (bt1 == VT_FUNC || bt2 == VT_FUNC) { + /* XXX: test function pointer compatibility */ + type = type1; } else if (bt1 == VT_STRUCT || bt2 == VT_STRUCT) { /* XXX: test structure compatibility */ type = type1; |
