mirror of
https://github.com/ziglang/zig.git
synced 2024-11-24 21:30:14 +00:00
parent
78da0e40a8
commit
18fe951e24
@ -0,0 +1,11 @@
|
||||
fn foo() [:0]const u8 {
|
||||
return undefined;
|
||||
}
|
||||
pub fn main() void {
|
||||
var guid: [*:0]const u8 = undefined;
|
||||
guid = foo();
|
||||
}
|
||||
|
||||
// run
|
||||
// backend=llvm
|
||||
// target=native
|
Loading…
Reference in New Issue
Block a user