Skip to content

Commit 3a2ec88

Browse files
llunakvladimirlaz
authored andcommitted
fix clang/PCH/delayed-pch-instantiate test
-target must match between PCH creation and use.
1 parent 1bdd66b commit 3a2ec88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/PCH/delayed-pch-instantiate.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -DBODY %s -o - | FileCheck %s
33

44
// Test with pch.
5-
// RUN: %clang_cc1 -emit-pch -o %t %s
5+
// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-pch -o %t %s
66
// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -include-pch %t -DBODY %s -o - | FileCheck %s
77

8-
// RUN: %clang_cc1 -emit-pch -fpch-instantiate-templates -o %t %s
8+
// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-pch -fpch-instantiate-templates -o %t %s
99
// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -include-pch %t -DBODY %s -o - | FileCheck %s
1010

1111
// expected-no-diagnostics

0 commit comments

Comments
 (0)