aboutsummaryrefslogtreecommitdiff
path: root/src/buffer.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-04-05 20:18:26 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-04-05 20:18:26 -0400
commit83390bdfdde211a73be42e16a41cd2102c429bbd (patch)
tree17854868d8d75183e653f9ab630f5c8569215ec3 /src/buffer.cpp
parent3854bb919808b8d86154495fee1acc7e645240a4 (diff)
downloadzig-83390bdfdde211a73be42e16a41cd2102c429bbd.tar.gz
zig-83390bdfdde211a73be42e16a41cd2102c429bbd.zip
fix dereferencing a zero bit type
Before only u0 was special cased in handling a dereference; now all zero bit types are handled the same way. Dereferencing a pointer to a zero bit type always gives a comptime-known result. This previously had been failing on master branch but went unnoticed because until 846f72b57cb5 the CI server was mistakenly not actually running the single-threaded tests with --single-threaded. This fixes the standard library tests with --single-threaded --release-fast.
Diffstat (limited to 'src/buffer.cpp')
0 files changed, 0 insertions, 0 deletions