tinycc/tests/tests2/94_generic.expect
Arthur Williams 3709f8de14 Treat func pointers with different return types as not compatible
Tcc considered function ptrs with different return types to be
compatible which disallowed some otherwise valid operations like:
`_Generic(foo, int(*)():0, void(*)(void):1)`
which would fail to compile with a error message of "type match twice"

This changed also required longjump's return type to be void and
munmap's to be int to be compatible with standard headers.
2020-11-22 16:30:34 -06:00

16 lines
38 B
Plaintext

20
10
20
123
2
0
5
1
2
3
4
long
1
3
5