14 lines · plain
1! RUN: %python %S/test_errors.py %s %flang_fc12character(4) a, b, c, d, e, f3!WARNING: DATA statement value '"abcde"' for 'a' has the wrong length [-Wdata-length]4data a(1:4)/'abcde'/5!WARNING: DATA statement value '"abc"' for 'b' has the wrong length [-Wdata-length]6data b(1:4)/'abc'/7data c/'abcde'/ ! not a substring, conforms8data d/'abc'/ ! not a substring, conforms9!ERROR: Substring must end at 4 or earlier, not 510data e(1:5)/'abcde'/11!ERROR: Substring must begin at 1 or later, not 012data f(0:4)/'abcde'/13end14