================
@@ -0,0 +1,46 @@
+! REQUIRES: native
----------------
eugeneepshteyn wrote:

This test never runs. flang-rt's lit config sets `target_triple` but not 
`host_triple`, so lit never provides `native`, and the test reports:

```console
UNSUPPORTED: flang-rt :: Driver/implicit-module-prefix.f90
Test requires the following unavailable features: native
```

It's the only `REQUIRES: native` test in this directory; the other execution 
tests here only carry `UNSUPPORTED: offload-cuda`. With this line removed, the 
test passes for me:

```suggestion
```

Since the test moved out of `flang/test/Driver`, nothing covers the driver 
forwarding of `-f[no-]implicit-module-prefix` on a plain flang build. A `%flang 
-fsyntax-only -Wimplicit-module-prefix` test there would cover that without 
needing the runtime: one warning for `-fimplicit-module-prefix`, none for 
`-fimplicit-module-prefix -fno-implicit-module-prefix`, and one for the reverse 
order.


https://github.com/llvm/llvm-project/pull/220783
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to