summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/mno-global-merge.c
blob: b4d8f8757281508d2fdf23ad6f335a926dd0cbfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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"

OpenPOWER on IntegriCloud