diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-06-16 21:03:44 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-06-16 21:03:44 +0000 |
| commit | 325377b57338e700317f5e423e5b0f1c08d99a39 (patch) | |
| tree | acd401a9713562cf3e93d13fa6a70ad67eb5cd99 /test/CodeGen/thinlto-backend-option.ll | |
| parent | 1b08b196ac845675036ac78f3ac927d0a37f707c (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/thinlto-backend-option.ll')
| -rw-r--r-- | test/CodeGen/thinlto-backend-option.ll | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/thinlto-backend-option.ll b/test/CodeGen/thinlto-backend-option.ll index 4c7c0ea3efcd..4fcdd079df84 100644 --- a/test/CodeGen/thinlto-backend-option.ll +++ b/test/CodeGen/thinlto-backend-option.ll @@ -8,6 +8,8 @@ ; RUN: %clang -flto=thin -c -o %t.o %s ; RUN: llvm-lto -thinlto -o %t %t.o -; RUN: not %clang_cc1 -x ir %t.o -fthinlto-index=%t.thinlto.bc -backend-option -nonexistent -emit-obj -o /dev/null 2>&1 | FileCheck %s +; RUN: not %clang_cc1 -x ir %t.o -fthinlto-index=%t.thinlto.bc -backend-option -nonexistent -emit-obj -o /dev/null 2>&1 | FileCheck %s -check-prefix=UNKNOWN +; UNKNOWN: clang: Unknown command line argument '-nonexistent' -; CHECK: clang: Unknown command line argument '-nonexistent' +; RUN: not %clang_cc1 -flto=thinfoo 2>&1 | FileCheck %s -check-prefix=INVALID +; INVALID: error: invalid value 'thinfoo' in '-flto=thinfoo' |
