2025-05-24 22:13:16 +01:00

17 lines
193 B
Plaintext

# element access is not permitted for strings
# Output:
# #semantic_error#
# Exit:
# 200
# Program:
begin
string str = "hello world!" ;
println str ;
str[0] = 'H' ;
println str
end