Skip to content

Commit 3db1ade

Browse files
committed
[Driver][test] Fix undefined-libs.cpp when CLANG_DEFAULT_UNWINDLIB is libunwind
1 parent 6800222 commit 3db1ade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Driver/undefined-libs.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// STDLIB: error: invalid library name in argument '-stdlib=nostdlib'
66
// STDLIB-EMPTY:
77

8-
// RUN: not %clangxx --target=i386-unknown-linux -rtlib=nortlib %s 2>&1 | FileCheck --check-prefix=RTLIB %s
8+
// RUN: not %clangxx --target=i386-unknown-linux -rtlib=nortlib --unwindlib=libgcc %s 2>&1 | FileCheck --check-prefix=RTLIB %s
99
// RTLIB: error: invalid runtime library name in argument '-rtlib=nortlib'
1010
// RTLIB-EMPTY:
1111

0 commit comments

Comments
 (0)