aboutsummaryrefslogtreecommitdiff
path: root/test/cli.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-03-20 13:34:07 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-03-20 13:34:07 -0400
commit3c7555cb679492f3f1c0ce320cbdf4a3769e56db (patch)
tree6a59ff4cd7d7e27e8d066fb3d3e07be6dffa012b /test/cli.zig
parent2fdf69bc4082c49a571c0ee7bb7441d910def795 (diff)
parent1b25dcde9691835d0c3f5449f4c9565b9074de0e (diff)
downloadzig-3c7555cb679492f3f1c0ce320cbdf4a3769e56db.tar.gz
zig-3c7555cb679492f3f1c0ce320cbdf4a3769e56db.zip
Merge remote-tracking branch 'origin/llvm8'
Diffstat (limited to 'test/cli.zig')
-rw-r--r--test/cli.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cli.zig b/test/cli.zig
index a36c810cd8..1e7f1d0a73 100644
--- a/test/cli.zig
+++ b/test/cli.zig
@@ -127,5 +127,6 @@ fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) anyerror!void {
const out_asm = try std.io.readFileAlloc(a, example_s_path);
testing.expect(std.mem.indexOf(u8, out_asm, "square:") != null);
- testing.expect(std.mem.indexOf(u8, out_asm, "imul\tedi, edi") != null);
+ testing.expect(std.mem.indexOf(u8, out_asm, "mov\teax, edi") != null);
+ testing.expect(std.mem.indexOf(u8, out_asm, "imul\teax, edi") != null);
}