2012-01-21 06:01:23 +08:00
|
|
|
// RUN: %clang -target armv7-apple-darwin10 \
|
2011-08-26 08:26:29 +08:00
|
|
|
// RUN: -mno-global-merge -### -fsyntax-only %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-NGM < %t %s
|
|
|
|
|
2014-05-30 03:43:02 +08:00
|
|
|
// RUN: %clang -target arm64-apple-ios7 \
|
|
|
|
// RUN: -mno-global-merge -### -fsyntax-only %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-NGM < %t %s
|
|
|
|
|
2011-08-26 08:26:29 +08:00
|
|
|
// CHECK-NGM: "-mno-global-merge"
|
|
|
|
|
2012-01-21 06:01:23 +08:00
|
|
|
// RUN: %clang -target armv7-apple-darwin10 \
|
2011-08-26 08:26:29 +08:00
|
|
|
// RUN: -mglobal-merge -### -fsyntax-only %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-GM < %t %s
|
|
|
|
|
2014-05-30 03:43:02 +08:00
|
|
|
// RUN: %clang -target arm64-apple-ios7 \
|
|
|
|
// RUN: -mglobal-merge -### -fsyntax-only %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-GM < %t %s
|
|
|
|
|
2011-08-26 08:26:29 +08:00
|
|
|
// CHECK-GM-NOT: "-mglobal-merge"
|
|
|
|
|