aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/normal_string_with_newline.zig
blob: 19e15133ee340c8c5c18593f6a00bfd5a331c596 (plain)
1
2
3
4
5
6
7
8
9
const foo = "a
b";

// error
// backend=stage2
// target=native
//
// :1:13: error: expected expression, found 'invalid bytes'
// :1:15: note: invalid byte: '\n'