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

Michael Klemm via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 23 09:53:44 PST 2023


================
@@ -0,0 +1,15 @@
+! UNSUPPORTED: system-windows
+
+! RUN: %clang -o %t.c-object -c %S/Inputs/main_dupes.c
----------------
mjklemm wrote:

When I do this, the test goes to "unsupported" for me, as it seems that %cc is not set as a substitution in lit.cfg.py.

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


More information about the cfe-commits mailing list