summaryrefslogtreecommitdiff
path: root/test/Driver/preserve-uselistorder.c
blob: aee75a6827fe5c2c3b08da2642311ed35a4221a3 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang -target x86_64-apple-darwin -emit-llvm -arch x86_64 %s -### 2>&1 \
// RUN:   | FileCheck %s
// CHECK: "-emit-llvm-bc"
// CHECK: "-emit-llvm-uselists"

// RUN: %clang -target x86_64-apple-darwin -flto -arch x86_64 %s -### 2>&1 \
// RUN:   | FileCheck -check-prefix=LTO %s
// LTO:      "-emit-llvm-bc"
// LTO-NOT:  "-emit-llvm-uselists"