shithub: scc

ref: 7c8e979f1d5f58982cae51893eec769c28b716b3
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();
}