aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/struct.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-02-06 09:14:15 +0100
committerJakub Konka <kubkon@jakubkonka.com>2022-02-06 09:24:13 +0100
commitdb9500a31401c65327a4fd556f50d74ce75fb858 (patch)
treef490658644c9b6741f6375e93189568104e25745 /test/behavior/struct.zig
parent556f0ce5bfb962764bb68d9d9c16765cf9e1b9ba (diff)
downloadzig-db9500a31401c65327a4fd556f50d74ce75fb858.tar.gz
zig-db9500a31401c65327a4fd556f50d74ce75fb858.zip
stage2: handle extern lib name annotation for vars
For example, a situation like this is allowed ```zig extern "c" var stderrp: c_int; ``` In this case, `Module.Var` wrapping `stderrp` will have `lib_name` populated with the library name where this import is expected.
Diffstat (limited to 'test/behavior/struct.zig')
0 files changed, 0 insertions, 0 deletions