Fixes and simplifications for stage 1 parser

This commit is contained in:
Jimmi HC
2019-05-10 16:09:58 +02:00
parent bcf4d20289
commit 6b10f03b4a
3 changed files with 31 additions and 59 deletions

View File

@@ -587,15 +587,6 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
"tmp.zig:1:13: error: threadlocal variable cannot be constant",
);
cases.add(
"threadlocal qualifier on local variable",
\\export fn entry() void {
\\ threadlocal var x: i32 = 1234;
\\}
,
"tmp.zig:2:5: error: function-local variable 'x' cannot be threadlocal",
);
cases.add(
"@bitCast same size but bit count mismatch",
\\export fn entry(byte: u8) void {