summaryrefslogtreecommitdiffstats
path: root/test/PCH/pchpch.c
blob: d68a6ad4aee62da2d432f511431c2894408c0a46 (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-pch -o %t1 %S/pchpch1.h
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-pch -o %t2 %S/pchpch2.h -include-pch %t1
// RUN: %clang_cc1 -triple i386-unknown-unknown -fsyntax-only %s -include-pch %t2

// The purpose of this test is to make sure that a PCH created while including
// an existing PCH can be loaded.