llvm-project/clang/test/Driver/mno-global-merge.c

13 lines
392 B
C

// RUN: %clang -ccc-host-triple armv7-apple-darwin10 \
// RUN: -mno-global-merge -### -fsyntax-only %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-NGM < %t %s
// CHECK-NGM: "-mno-global-merge"
// RUN: %clang -ccc-host-triple armv7-apple-darwin10 \
// RUN: -mglobal-merge -### -fsyntax-only %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-GM < %t %s
// CHECK-GM-NOT: "-mglobal-merge"