shithub: scc

ref: 022532e3e74a94ff9a194378c5a9f7a4904d82d3
dir: /cc1/tests/test042.c/

View raw version
/* See LICENSE file for copyright and license details. */

/*
name: TEST042
description: Test for bug parsing ternary operators
error:
test042.c:20: error: bad type conversion requested
output:
G2	I	F	"main
{
\
X4	0	F	"f
*/

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

        return (int) f();
}