Zig Version
0.10.0-dev.2859+0101a5f75
Steps to Reproduce
const std = @import("std");
/// safe
pub fn main() anyerror!void {
// safe
std.log.info("Ok.", .{});
}
/// THIS COMMENT CAUSES COMPILATION ERROR! > error: invalid token: 'test'
test "basic test" {
try std.testing.expectEqual(10, 3 + 7);
}
Expected Behavior
No compilation errors.
Actual Behavior
Compilation error occured.
error: invalid token: 'test'
So, // causes no errors.
// NO ERRORS.
test "basic test" {
try std.testing.expectEqual(10, 3 + 7);
}
Zig Version
0.10.0-dev.2859+0101a5f75
Steps to Reproduce
Expected Behavior
No compilation errors.
Actual Behavior
Compilation error occured.
So,
//causes no errors.