Fixes and simplifications for stage 1 parser
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user