aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-08-29 17:10:11 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-08-29 17:10:11 -0400
commit910a96f0468c635a135d9fccd39f139ba0775ef9 (patch)
tree7a8873846ea70892414e79585e5c64f3a0ccfa67 /test
parent816689a3b1c98ec008438e7f868e1a123889b2a7 (diff)
downloadzig-910a96f0468c635a135d9fccd39f139ba0775ef9.tar.gz
zig-910a96f0468c635a135d9fccd39f139ba0775ef9.zip
fix tests
Diffstat (limited to 'test')
-rw-r--r--test/compile_errors.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compile_errors.zig b/test/compile_errors.zig
index 96898d1744..21575bfc34 100644
--- a/test/compile_errors.zig
+++ b/test/compile_errors.zig
@@ -2014,7 +2014,7 @@ pub fn addCases(cases: &tests.CompileErrorContext) {
cases.add("increase pointer alignment in @ptrCast",
\\export fn entry() -> u32 {
- \\ var bytes: [4]u8 align 4 = []u8{0x01, 0x02, 0x03, 0x04};
+ \\ var bytes: [4]u8 = []u8{0x01, 0x02, 0x03, 0x04};
\\ const ptr = @ptrCast(&u32, &bytes[0]);
\\ return *ptr;
\\}