Files
c3c/test/test_suite/attributes/recursive_attributes.c3
2023-01-11 18:00:08 +01:00

18 lines
257 B
C

module test;
define @Align(y) = @Align16(y / 2);
define @Align16(x) = @align(4), @Align(8 * x); // #error: Recursive declaration of attribute
define @Test = @noinline;
struct Foo
{
int z;
int xy @Align16(8);
}
Foo f;
fn void testme() @Test
{
int x;
}