[PATCH] D84280: [flang] Fix source line continuation in potential macro calls (bugzilla 46768)

Peter Klausler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 21 17:58:07 PDT 2020


klausler updated this revision to Diff 279683.
klausler added a comment.

Add test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84280/new/

https://reviews.llvm.org/D84280

Files:
  flang/test/Parser/continuation-in-if.f


Index: flang/test/Parser/continuation-in-if.f
===================================================================
--- /dev/null
+++ flang/test/Parser/continuation-in-if.f
@@ -0,0 +1,9 @@
+! RUN: %f18 -funparse %s 2>&1 | FileCheck %s
+! CHECK: CALL foo("N","N")
+#ifdef transpose
+      call foo('T',
+#else
+      call foo('N',
+#endif
+     $     'N')
+      end


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84280.279683.patch
Type: text/x-patch
Size: 364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200722/1c3289e4/attachment.bin>


More information about the llvm-commits mailing list