diff options
author | dim <dim@FreeBSD.org> | 2015-12-30 11:49:41 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-12-30 11:49:41 +0000 |
commit | 3176e97f130184ece0e1a21352c8124cc83ff24a (patch) | |
tree | 0a5b74c0b9ca73aded34df95c91fcaf3815230d8 /test/Modules/merge-target-features.cpp | |
parent | 1e9b8d38881c3213d1e67b0c47ab9b2c00721a5c (diff) | |
download | FreeBSD-src-3176e97f130184ece0e1a21352c8124cc83ff24a.zip FreeBSD-src-3176e97f130184ece0e1a21352c8124cc83ff24a.tar.gz |
Vendor import of clang trunk r256633:
https://llvm.org/svn/llvm-project/cfe/trunk@256633
Diffstat (limited to 'test/Modules/merge-target-features.cpp')
-rw-r--r-- | test/Modules/merge-target-features.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/Modules/merge-target-features.cpp b/test/Modules/merge-target-features.cpp index 938715d..9ca0539 100644 --- a/test/Modules/merge-target-features.cpp +++ b/test/Modules/merge-target-features.cpp @@ -20,7 +20,9 @@ // RUN: -target-cpu i386 \ // RUN: -fsyntax-only merge-target-features.cpp 2>&1 \ // RUN: | FileCheck --check-prefix=SUBSET %s -// SUBSET: AST file was compiled with the target feature'+sse2' but the current translation unit is not +// SUBSET-NOT: error: +// SUBSET: error: {{.*}} configuration mismatch +// SUBSET-NOT: error: // // RUN: %clang_cc1 -fmodules -x c++ -fmodules-cache-path=%t \ // RUN: -iquote Inputs/merge-target-features \ @@ -56,8 +58,9 @@ // RUN: -target-cpu i386 -target-feature +cx16 \ // RUN: -fsyntax-only merge-target-features.cpp 2>&1 \ // RUN: | FileCheck --check-prefix=MISMATCH %s -// MISMATCH: AST file was compiled with the target feature'+sse2' but the current translation unit is not -// MISMATCH: current translation unit was compiled with the target feature'+cx16' but the AST file was not +// MISMATCH-NOT: error: +// MISMATCH: error: {{.*}} configuration mismatch +// MISMATCH-NOT: error: #include "foo.h" |