mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
16 lines
180 B
C
16 lines
180 B
C
module test;
|
|
|
|
fn void test(int* a) {}
|
|
macro @abc(&self)
|
|
{
|
|
test(self); // #error: Implicitly casting 'int**' to 'int*'
|
|
}
|
|
|
|
fn void! test1()
|
|
{
|
|
int* a;
|
|
int b;
|
|
@abc(a);
|
|
@abc(b);
|
|
}
|