aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/export.zig
AgeCommit message (Collapse)Author
2023-10-27split export behavior test into export_keyword and export_builtinAndrew Kelley
2023-10-26link: support exporting constant values without a DeclAndrew Kelley
The main motivating change here is to prevent the creation of a fake Decl object by the frontend in order to `@export()` a value. Instead, `link.updateDeclExports` is renamed to `link.updateExports` and accepts a tagged union which can be either a Decl.Index or a InternPool.Index.
2023-06-24all: migrate code to new cast builtin syntaxmlugg
Most of this migration was performed automatically with `zig fmt`. There were a few exceptions which I had to manually fix: * `@alignCast` and `@addrSpaceCast` cannot be automatically rewritten * `@truncate`'s fixup is incorrect for vectors * Test cases are not formatted, and their error locations change
2023-06-19all: zig fmt and rename "@XToY" to "@YFromX"Eric Joldasov
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-03-21Sema: implement @export for arbitrary valuesmlugg
2022-12-10stage2: sparc64: Skip unimplemented testsKoakuma
2022-10-12stage2: implement exporting using field access (#13136)Luuk de Gram
This implements `@export(a.b, .{..});` in semantic analysis, allowing users to directly export a variable from a namespace. * add test case for exporting using field access
2022-04-24Sema: fix export with Internal linkageAndrew Kelley
The Export tables should only be populated with non-internal exports.
2022-03-10Sema: implement zirStructInit is_ref=true unionVeikka Tuominen
2022-03-01stage2: introduce anonymous struct literalsAndrew Kelley