[flang-commits] [flang] [llvm] Adding parsing and semantic support for scan directive. (PR #102792)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Wed Aug 21 08:45:46 PDT 2024


================
@@ -0,0 +1,40 @@
+! RUN: %flang_fc1 -fdebug-unparse -fopenmp %s | FileCheck --ignore-case %s
+! RUN: %flang_fc1 -fdebug-dump-parse-tree -fopenmp %s | FileCheck --check-prefix="PARSE-TREE" %s
+
+! Check for parsing scan directive
+subroutine test_scan_inclusive()
----------------
skatrak wrote:

Nit: It's testing both types of scan, so I think it's best to avoid a misleading subroutine name.
```suggestion
subroutine test_scan()
```

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


More information about the flang-commits mailing list