Files
c3c/test/test_suite/attributes/attribute_visibility.c3t
Christoffer Lerno 5c77c9a754 - Change distinct -> typedef.
- Order of attribute declaration is changed for `alias`.
- Added `LANGUAGE_DEV_VERSION` env constant.
- Rename `anyfault` -> `fault`.
- Changed `fault` -> `faultdef`.
- Added `attrdef` instead of `alias` for attribute aliases.
2025-03-15 20:10:47 +01:00

12 lines
237 B
Plaintext

// #target: macos-x64
module test;
const int FOO @private = 4;
attrdef @Align(x) = @align(x * FOO);
module test2;
import test;
int black @Align(16) = 123;
/* #expect: test2.ll
@test2.black = local_unnamed_addr global i32 123, align 64