shithub: scc

ref: 43a3b37a514e390199668bab42c3451901de5917
dir: /cc1/tests/test042.c/

View raw version
/*
name: TEST042
description: Test for bug parsing ternary operators
error:
test042.c:22: error: bad type convertion requested

output:
F1	I
G2	F1	main
{
\
F3	0
X4	F3	f

*/

int
main(void)
{
        void f(void);

        return (int) f();
}