aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/linux-ld.c
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-10-01 01:46:47 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-10-01 01:46:47 +0000
commit37cbb0b8bde414f4297b9183b41850ff7c909d20 (patch)
tree20c4ab134cdd6fdb360843e227453bceefdd5163 /test/Driver/linux-ld.c
parentf3a852a24743ef92b66af33a41711fec2981d7dd (diff)
Correct my failure at writing proper regex's for FileCheck. Thanks Nick.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140920 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/linux-ld.c')
-rw-r--r--test/Driver/linux-ld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Driver/linux-ld.c b/test/Driver/linux-ld.c
index eb3ce557a7..60a7e0d067 100644
--- a/test/Driver/linux-ld.c
+++ b/test/Driver/linux-ld.c
@@ -3,7 +3,7 @@
// 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
// 32-bit machines may use 'lib' or 'lib32' dependending on how they setup multilib.
-// CHECK-LD-32: "{{.*}}ld" {{.*}} "-L/lib/../lib{{32|}}" "-L/usr/lib/../lib{{32|}}"
+// CHECK-LD-32: "{{.*}}ld" {{.*}} "-L/lib/../lib{{(32)?}}" "-L/usr/lib/../lib{{(32)?}}"
//
// 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