Files
clang-p2996/flang/test/Preprocessing/inc-contin-1.F
Peter Klausler 5d15f606da [flang][preprocessing] Mix preprocessing directives with free form li… (#96244)
…ne continuation

Allow preprocessing directives to appear between a source line and its
continuation, including conditional compilation directives (#if, #ifdef,
&c.).

Fixes https://github.com/llvm/llvm-project/issues/95476.
2024-06-24 10:18:50 -07:00

7 lines
144 B
Fortran

! RUN: %flang_fc1 -E %s 2>&1 | FileCheck %s
! CHECK: call t(1 ,.false.)
program main
#include "inc-contin-1.h"
$,.false.)
end