Peter Klausler 77cd34eedf
[flang] Treat conditional comments as comments (#165881)
An OpenMP, OpenACC, or CUDA conditional line should be treated as a
comment when that's what its payload contains, not as a conditional
source line that will confuse the parser when it is indeed just a
comment.
2025-10-31 10:28:04 -07:00

6 lines
116 B
Fortran

!RUN: %flang_fc1 -fopenmp -fdebug-unparse %s 2>&1 | FileCheck %s
!CHECK: END
!CHECK-NOT: error:
end
c$ !