shithub: scc

ref: 7b7d12f633d61116de104d3920e0e24cdd7ad802
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:22: error: bad type conversion requested
output:
V2	K	#NC
V4	K	#N9
G6	I	F	"main
{
\
X8	0	F	"f
*/

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

        return (int) f();
}