================
@@ -0,0 +1,6 @@
+! RUN: %flang -### -o /dev/null %s -Xlinker -rpath=/not/a/real/path 2>&1 | 
FileCheck %s
+
+! CHECK: "-fc1"
+! CHECK-NEXT: "-rpath=/not/a/real/path"
----------------
tblah wrote:

nit: maybe I'm being overly pedantic here, but I think the meaning of the test 
would be clearer if you check directly that this is an argument to the linker, 
not assuming that the next line after the frontend driver is the linker. There 
are some regular expressions for names of the linker in 
`flang/test/Driver/linker-flags.f90`.

https://github.com/llvm/llvm-project/pull/107472
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to