================ @@ -50,3 +50,19 @@ ! MSVC-SAME: FortranDecimal.lib ! MSVC-SAME: /subsystem:console ! MSVC-SAME: "[[object_file]]" + +! Verify that certain linker flags are known to the frontend and are passed on +! to the linker. + +! RUN: %flang -### -rpath /path/to/dir %s 2>&1 \ ---------------- tarunprabhu wrote:
Are you suggesting combining `-rpath -shared` in one command and `-rpath -static` in another? Also, there is the option of putting all three in one command because `shared` and `-static` may be used simultaneously? Do I understand you correctly? If so, isn't it better to have smaller commands that test one thing unless we explicitly want to check combinations? https://github.com/llvm/llvm-project/pull/66702 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits