mirror of
https://github.com/frida/tinycc
synced 2024-11-30 19:43:07 +03:00
d6d3cf00ec
Code like: #include <signal.h> int main() { _Generic(signal, int: 0); } should fail with error: type 'extern void (*(int, void (*)(int)))(int)' does not match any association not error: type 'extern void *(int)(int, void *(int))' does not match any association [matz: fix formatting, fix function-to-pointer decay for operands of _Generic, add testcase for this]
15 lines
36 B
Plaintext
15 lines
36 B
Plaintext
20
|
|
10
|
|
20
|
|
123
|
|
2
|
|
0
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
|
long
|
|
1
|
|
3
|