llvm-project/clang/test/Driver/foptimize-sibling-calls.c

8 lines
308 B
C

// RUN: %clang -### %s -fno-optimize-sibling-calls 2> %t
// RUN: FileCheck --check-prefix=CHECK-NOSC < %t %s
// CHECK-NOSC: "-fno-optimize-sibling-calls"
// RUN: %clang -### -foptimize-sibling-calls %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-OSC < %t %s
// CHECK-OSC-NOT: "-fno-optimize-sibling-calls"