[flang-commits] [flang] [clang] [flang][Driver] Let the linker fail on multiple definitions of main() (PR #73124)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Fri Nov 24 05:40:34 PST 2023


================
@@ -0,0 +1,13 @@
+! RUN: %clang -x c -o %t.c-part -c %s.c-part
----------------
mjklemm wrote:

That has worked.  I haven't thought about that at all, so many thanks for the suggestion.  This greatly simplifies things!

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


More information about the flang-commits mailing list