================ @@ -20,10 +22,17 @@ ! RUN: %flang_fc1 -emit-mlir -fconvert=big-endian %s -o - | FileCheck %s --check-prefix=VALID_FC1 ! RUN: %flang_fc1 -emit-mlir -fconvert=swap %s -o - | FileCheck %s --check-prefix=VALID_FC1 ! RUN: not %flang_fc1 -fconvert=foobar %s 2>&1 | FileCheck %s --check-prefix=INVALID +! RUN: not %flang_fc1 -fconvert=big_endian %s 2>&1 | FileCheck %s --check-prefix=INVALID-BIG-ENDIAN +! RUN: not %flang_fc1 -fconver=Foobar %s 2>&1 | FileCheck %s --check-prefix=UNKNOWN-OPTION ---------------- kiranktp wrote:
I added this test to make sure the compiler is suggesting the closest option available. this test fails when the suggestion changes. If its redundant, I can remove this test. https://github.com/llvm/llvm-project/pull/215966 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
