[flang-commits] [flang] [flang][preprocessing] Mix preprocessing directives with free form li… (PR #96244)

via flang-commits flang-commits at lists.llvm.org
Sat Jun 22 14:08:41 PDT 2024


================
@@ -0,0 +1,6 @@
+! RUN: %flang_fc1 -E %s 2>&1 | FileCheck %s
+! CHECK: print *, 3.14159
----------------
foxtran wrote:

It is improper result, since test has whitespace between `.` and `&` in `flang/test/Preprocessing/inc-contin-2.h`.
It should be:
```
! CHECK: print *, 3. 14159
```
And then, it must fail since whitespaces are not allowed in constants as it was in Fortran-77.

https://github.com/llvm/llvm-project/pull/96244


More information about the flang-commits mailing list