diff options
Diffstat (limited to 'tests/conformance/3-expressions/bstr_mix_error.zc')
| -rw-r--r-- | tests/conformance/3-expressions/bstr_mix_error.zc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/conformance/3-expressions/bstr_mix_error.zc b/tests/conformance/3-expressions/bstr_mix_error.zc new file mode 100644 index 0000000..08daf37 --- /dev/null +++ b/tests/conformance/3-expressions/bstr_mix_error.zc @@ -0,0 +1,6 @@ +// expect error: a byte string needs a byte string on the other side +include rt; +fn main() { + bstr s = b"a" + "b"; + return 0; +} |
