WACC/src/test/wacc/waccPrograms/semanticErr/read/readIntoBadFst.wacc
2025-05-24 22:13:16 +01:00

14 lines
195 B
Plaintext

# If we are reading into a pair projection, the element must be readable
# Output:
# #semantic_error#
# Exit:
# 200
# Program:
begin
pair(bool, bool) p = null;
read fst p
end