aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/type.zig
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2021-08-30 02:54:03 +0200
committerRobin Voetter <robin@voetter.nl>2021-09-20 02:29:04 +0200
commitc5945467acfd580cb3413250ef52f13dc412a8cf (patch)
treecd56aa35c06a65ec51a3ade3a3bbb90eb33cb8a1 /test/behavior/type.zig
parent7a5d0cdf45f861f63d89666607dc86b3a2810826 (diff)
downloadzig-c5945467acfd580cb3413250ef52f13dc412a8cf.tar.gz
zig-c5945467acfd580cb3413250ef52f13dc412a8cf.zip
Address Spaces: Pointer and function info in @Type
Diffstat (limited to 'test/behavior/type.zig')
-rw-r--r--test/behavior/type.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/behavior/type.zig b/test/behavior/type.zig
index 3a56f2171f..cd5d2c3e06 100644
--- a/test/behavior/type.zig
+++ b/test/behavior/type.zig
@@ -137,6 +137,7 @@ test "@Type create slice with null sentinel" {
.is_volatile = false,
.is_allowzero = false,
.alignment = 8,
+ .address_space = .generic,
.child = *i32,
.sentinel = null,
},