summaryrefslogtreecommitdiff
path: root/clang/test/Driver/mno-global-merge.c
blob: ec9f69e67ce24df4a26ecc1271472f27b2301cae (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang -target 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 -target armv7-apple-darwin10 \
// RUN:   -mglobal-merge -### -fsyntax-only %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-GM < %t %s

// CHECK-GM-NOT: "-mglobal-merge"