forked from OSchip/llvm-project
fix clang/PCH/delayed-pch-instantiate test
-target must match between PCH creation and use.
This commit is contained in:
parent
67121d7b82
commit
448bbc512f
|
@ -2,10 +2,10 @@
|
|||
// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -DBODY %s -o - | FileCheck %s
|
||||
|
||||
// Test with pch.
|
||||
// RUN: %clang_cc1 -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -include-pch %t -DBODY %s -o - | FileCheck %s
|
||||
|
||||
// RUN: %clang_cc1 -emit-pch -fpch-instantiate-templates -o %t %s
|
||||
// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-pch -fpch-instantiate-templates -o %t %s
|
||||
// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -include-pch %t -DBODY %s -o - | FileCheck %s
|
||||
|
||||
// expected-no-diagnostics
|
||||
|
|
Loading…
Reference in New Issue