mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
7213234f0c
Closes #5344
11 lines
256 B
Zig
11 lines
256 B
Zig
var internal_variable: u32 = 42;
|
|
export const p_internal_variable = &internal_variable;
|
|
|
|
extern var external_variable: u32;
|
|
export const p_external_variable = &external_variable;
|
|
|
|
// compile
|
|
// output_mode=Obj
|
|
// backend=stage2,llvm
|
|
// target=x86_64-linux
|