aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/3-expressions/bstr_index_not_lvalue.zc
blob: 71762e422993165b066f898a80c88e754673f8b6 (plain) (blame)
1
2
3
4
5
6
7
// expect error: zc: line 5:
include rt;
fn main() {
	bstr s = b"abc";
	s[0] = 65;
	return 0;
}