fix windows argument parsing

This commit is contained in:
Andrew Kelley
2017-10-15 20:15:01 -04:00
parent f87f98015c
commit e3ad13e054
5 changed files with 27 additions and 16 deletions

View File

@@ -889,7 +889,7 @@ pub fn addCases(cases: &tests.CompileErrorContext) {
\\const resource = @embedFile("bogus.txt");
\\
\\export fn entry() -> usize { @sizeOf(@typeOf(resource)) }
, ".tmp_source.zig:1:29: error: unable to find '", "/bogus.txt'");
, ".tmp_source.zig:1:29: error: unable to find '", "bogus.txt'");
cases.add("non-const expression in struct literal outside function",
\\const Foo = struct {