[ELF] Avoid make in elf::writeARMCmseImportLib
[llvm-project.git] / clang / test / Analysis / ctu-unknown-parts-in-triples.cpp
blobf41f07d1edc9f4163c62b978d44cb26d27c27110
1 // We do not expect any error when one part of the triple is unknown, but other
2 // known parts are equal.
4 // RUN: rm -rf %t && mkdir %t
5 // RUN: mkdir -p %t/ctudir
6 // RUN: %clang_cc1 -std=c++14 -triple x86_64-pc-linux-gnu \
7 // RUN: -emit-pch -o %t/ctudir/ctu-other.cpp.ast %S/Inputs/ctu-other.cpp
8 // RUN: cp %S/Inputs/ctu-other.cpp.externalDefMap.ast-dump.txt %t/ctudir/externalDefMap.txt
9 // RUN: %clang_analyze_cc1 -std=c++14 -triple x86_64-unknown-linux-gnu \
10 // RUN: -analyzer-checker=core,debug.ExprInspection \
11 // RUN: -analyzer-config experimental-enable-naive-ctu-analysis=true \
12 // RUN: -analyzer-config ctu-dir=%t/ctudir \
13 // RUN: -Werror=ctu \
14 // RUN: -verify %s
16 // expected-no-diagnostics
18 int f(int);
20 int main() {
21 return f(5);