Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
dereferencing_though_multiple_pointers_with_address_spaces.zig
pretty
plain
permalink
blame
history
•
12 lines
•
213 B
1
fn entry(a: *addrspace(.fs) *addrspace(.gs) *i32) *i32 {
2
return a.*.*;
3
}
4
pub fn main() void {
5
_ = &entry;
6
}
7
8
// compile
9
// output_mode=Exe
10
// backend=selfhosted,llvm
11
// target=x86_64-linux,x86_64-macos
12
//