[flang][openacc] Use OpenACC terminator instead of fir.unreachable after Stop stmt...
[llvm-project.git] / flang / test / Driver / color-diagnostics-parse.f90
blob11a1c7b57c9e2b4be175051fd3066029275704d2
1 ! Test the behaviors of -f{no-}color-diagnostics when emitting parsing
2 ! diagnostics.
3 ! Windows command prompt doesn't support ANSI escape sequences.
4 ! REQUIRES: shell
6 ! RUN: not %flang %s -fcolor-diagnostics 2>&1 \
7 ! RUN: | FileCheck %s --check-prefix=CHECK_CD
8 ! RUN: not %flang %s -fno-color-diagnostics 2>&1 \
9 ! RUN: | FileCheck %s --check-prefix=CHECK_NCD
10 ! RUN: not %flang_fc1 %s -fcolor-diagnostics 2>&1 \
11 ! RUN: | FileCheck %s --check-prefix=CHECK_CD
12 ! RUN: not %flang_fc1 %s 2>&1 | FileCheck %s --check-prefix=CHECK_NCD
14 ! CHECK_CD: {{.*}}[0;1;31merror: {{.*}}[0mexpected end of statement
16 ! CHECK_NCD: error: expected end of statement
18 program m
19 integer :: i =
20 end