Files
c3c/test/test_suite/distinct/distinct_function_call.c3

16 lines
189 B
C

def Abc = fn void();
distinct Foo = inline Abc;
struct Bar
{
inline Abc a;
}
fn void test()
{
}
fn void main()
{
Foo f = &test;
Bar b = { &test };
f();
b(); // #error: may be invoked
}