Files
clang-p2996/flang/test/Preprocessing/inc-contin-2.F90
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

10 lines
217 B
Fortran

! RUN: %flang_fc1 -E %s 2>&1 | FileCheck %s
! CHECK: print *, 3.14159
! CHECK: print *, 3. 14159
program main
#include "inc-contin-2a.h"
&14159
#include "inc-contin-2b.h"
&14159
end program main