mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 15:42:49 +00:00
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
|