blob: b4d8f8757281508d2fdf23ad6f335a926dd0cbfb [file] [log] [blame]
Chad Rosier1b906052011-08-26 00:26:29 +00001// RUN: %clang -ccc-host-triple armv7-apple-darwin10 \
2// 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
7// RUN: %clang -ccc-host-triple armv7-apple-darwin10 \
8// 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