There might be an 'ld' without any path prefix.

llvm-svn: 140913
This commit is contained in:
Chandler Carruth 2011-10-01 01:03:45 +00:00
parent e4fe245716
commit 6276a75731
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@
//
// RUN: %clang -no-canonical-prefixes -ccc-host-triple i386-unknown-linux %s -### -o %t.o 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-LD-32 %s
// CHECK-LD-32: "{{.*}}/ld" {{.*}} "-L/lib/../lib32" "-L/usr/lib/../lib32"
// CHECK-LD-32: "{{.*}}ld" {{.*}} "-L/lib/../lib32" "-L/usr/lib/../lib32"
//
// RUN: %clang -no-canonical-prefixes -ccc-host-triple x86_64-unknown-linux %s -### -o %t.o 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-LD-64 %s
// CHECK-LD-64: "{{.*}}/ld" {{.*}} "-L/lib/../lib64" "-L/usr/lib/../lib64"
// CHECK-LD-64: "{{.*}}ld" {{.*}} "-L/lib/../lib64" "-L/usr/lib/../lib64"