aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/tab_inside_multiline_string.zig
blob: 2602f990c2023e09b16507ce7fe19be7ccc085a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
export fn entry() void {
    const foo =
        \\const S = struct {
        \\	// hello
        \\}
    ;
    _ = foo;
}
// error
//
// :4:11: error: string literal contains invalid byte: '\t'