Add a triple to switch.ll test.
[oota-llvm.git] / test / CodeGen / X86 / compiler_used.ll
1 ; RUN: llc < %s -mtriple=i386-apple-darwin9 | FileCheck %s
2
3 @X = internal global i8 4
4 @Y = internal global i32 123
5 @Z = internal global i8 4
6
7 @llvm.used = appending global [1 x i8*] [ i8* @Z ], section "llvm.metadata"
8 @llvm.compiler.used = appending global [2 x i8*] [ i8* @X, i8* bitcast (i32* @Y to i8*)], section "llvm.metadata"
9
10 ; CHECK-NOT: .no_dead_strip
11 ; CHECK: .no_dead_strip _Z
12 ; CHECK-NOT: .no_dead_strip