summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clang/test/Driver/undefined-libs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/undefined-libs.cpp b/clang/test/Driver/undefined-libs.cpp
index f7bfba071b34..63f4bddfcc0f 100644
--- a/clang/test/Driver/undefined-libs.cpp
+++ b/clang/test/Driver/undefined-libs.cpp
@@ -5,7 +5,7 @@
// STDLIB: error: invalid library name in argument '-stdlib=nostdlib'
// STDLIB-EMPTY:
-// RUN: not %clangxx --target=i386-unknown-linux -rtlib=nortlib %s 2>&1 | FileCheck --check-prefix=RTLIB %s
+// RUN: not %clangxx --target=i386-unknown-linux -rtlib=nortlib --unwindlib=libgcc %s 2>&1 | FileCheck --check-prefix=RTLIB %s
// RTLIB: error: invalid runtime library name in argument '-rtlib=nortlib'
// RTLIB-EMPTY: