llvm-project/clang/test/Driver/fno-escaping-block-tail-cal...

10 lines
486 B
C

// RUN: %clang -### %s -fescaping-block-tail-calls -fno-escaping-block-tail-calls 2> %t
// RUN: FileCheck --check-prefix=CHECK-DISABLE < %t %s
// CHECK-DISABLE: "-fno-escaping-block-tail-calls"
// RUN: %clang -### %s -fno-escaping-block-tail-calls -fescaping-block-tail-calls 2> %t
// RUN: FileCheck --check-prefix=CHECK-NO-DISABLE < %t %s
// RUN: %clang -### %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-NO-DISABLE < %t %s
// CHECK-NO-DISABLE-NOT: "-fno-escaping-block-tail-calls"