================
@@ -1,4 +1,5 @@
 ! RUN: %python %S/test_errors.py %s %flang_fc1 -frelaxed-c-loc-checks
+! RUN: %python %S/test_errors.py %s %flang -frelaxed-c-loc-checks
----------------
tarunprabhu wrote:

In general, we should not invoke the driver in the semantics tests because 
there is a lot of work that the driver does that is unnecessary. 

If the issue was that the driver was not passing the option along to `fc1`, it 
is better to add a test to `flang/test/Driver`. For instance, something like 
this:

```
RUN: %flang -### -frelaxed-c-loc-checks %s 2>&1 | FileCheck %s
CHECK: "-fc1"
CHECK-SAME: "-frelaxed-c-loc-checks"
```

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

Reply via email to