From 910a96f0468c635a135d9fccd39f139ba0775ef9 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 29 Aug 2017 17:10:11 -0400 Subject: fix tests --- test/compile_errors.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/compile_errors.zig') 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; \\} -- cgit v1.2.3