================
@@ -16,5 +16,6 @@ end program p
 ! flang driver does not forward the option to -fc1 (fc1-only option)
 ! RUN: not %flang -### -ffp-maxmin-behavior=legacy %s 2>&1 \
 ! RUN:   | FileCheck %s -check-prefix=DRIVER-NO-FORWARD
+! DRIVER-NO-FORWARD: error: unknown argument '-ffp-maxmin-behavior=legacy'
 ! DRIVER-NO-FORWARD: "-fc1"
 ! DRIVER-NO-FORWARD-NOT: -ffp-maxmin-behavior
----------------
tarunprabhu wrote:

Since this is an error, we don't need these checks. It may be a good idea to 
name the label something more appropriate, maybe `DRIVER-UNKNOWN-ARG` or 
something like that.

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

Reply via email to