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

Andrzej WarzyƄski via flang-commits flang-commits at lists.llvm.org
Thu Nov 23 12:32:42 PST 2023


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

Check:
* https://github.com/llvm/llvm-project/blob/main/flang/test/lit.site.cfg.py.in#L24, and
* https://github.com/llvm/llvm-project/blob/main/flang/test/lit.cfg.py#L169

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


More information about the flang-commits mailing list