aboutsummaryrefslogtreecommitdiff
path: root/test/Misc/backend-stack-frame-diagnostics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Misc/backend-stack-frame-diagnostics.cpp')
-rw-r--r--test/Misc/backend-stack-frame-diagnostics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Misc/backend-stack-frame-diagnostics.cpp b/test/Misc/backend-stack-frame-diagnostics.cpp
index 1d865e7646e97..a850f2253959d 100644
--- a/test/Misc/backend-stack-frame-diagnostics.cpp
+++ b/test/Misc/backend-stack-frame-diagnostics.cpp
@@ -8,7 +8,7 @@
// Test that link invocations don't emit an "argument unused during compilation" diagnostic.
// RUN: touch %t.o
-// RUN: %clang -Werror -Wframe-larger-than=0 %t.o -### 2>&1 | not grep ' error: '
+// RUN: %clang -Werror -Wno-liblto -Wframe-larger-than=0 %t.o -### 2>&1 | not grep ' error: '
// TODO: Support rich backend diagnostics for Objective-C methods.