Files
c3c/test/test_suite2/errors/no_common.c3

13 lines
146 B
C

fn int! abc()
{
return 1;
}
macro test()
{
abc()?;
}
fn void main()
{
test() ?? 2; // #error: Cannot find a common type for 'void' and 'int'
}