# strings can be assigned to variables ----------------------------------------
tcc -c -u stderr -Wnounused 2>&1
$x = "hello";
EOF
$x = "hello"
# strings can be concatenated with + ------------------------------------------
tcc -c -u stderr -Wnounused 2>&1
$x = "str"+"cat";
EOF
$x = "strcat"
# strings can be compared (a < b) ---------------------------------------------
tcc -c -u stderr -Wnounused 2>&1
$a = "a" < "b";
$b = "a" <= "b";
$c = "a" == "b";
$d = "a" >= "b";
$e = "a" > "b";
$f = "a" != "b";
EOF
$a = 1
$b = 1
$c = 0
$d = 0
$e = 0
$f = 1
# strings can be compared (a == a) --------------------------------------------
tcc -c -u stderr -Wnounused 2>&1
$x = "a";
$a = $x < "a";
$b = $x <= "a";
$c = $x == "a";
$d = $x >= "a";
$e = $x > "a";
$f = $x != "a";
EOF
$x = "a"
$a = 0
$b = 1
$c = 1
$d = 1
$e = 0
$f = 0
# strings can be compared (b > a) ---------------------------------------------
tcc -c -u stderr -Wnounused 2>&1
$x = "b";
$y = "a";
$a = $x < $y;
$b = $x <= $y;
$c = $x == $y;
$d = $x >= $y;
$e = $x > $y;
$f = $x != $y;
EOF
$x = "b"
$y = "a"
$a = 0
$b = 0
$c = 0
$d = 1
$e = 1
$f = 1
