blob: ec9f69e67ce24df4a26ecc1271472f27b2301cae [file] [log] [blame]
Sebastian Pop9ec60df2012-01-20 22:01:23 +00001// RUN: %clang -target armv7-apple-darwin10 \
Chad Rosier1b906052011-08-26 00:26:29 +00002// RUN: -mno-global-merge -### -fsyntax-only %s 2> %t
3// RUN: FileCheck --check-prefix=CHECK-NGM < %t %s
4
5// CHECK-NGM: "-mno-global-merge"
6
Sebastian Pop9ec60df2012-01-20 22:01:23 +00007// RUN: %clang -target armv7-apple-darwin10 \
Chad Rosier1b906052011-08-26 00:26:29 +00008// RUN: -mglobal-merge -### -fsyntax-only %s 2> %t
9// RUN: FileCheck --check-prefix=CHECK-GM < %t %s
10
11// CHECK-GM-NOT: "-mglobal-merge"
12