blob: beb4dffe6144bf2b9b37d7f509be67293b8e34fa [file] [log] [blame]
Argyrios Kyrtzidise6f08682011-10-21 23:02:28 +00001// Test this without pch.
2// RUN: %clang_cc1 %s -include %s.h -emit-llvm -o %t.withoutpch.ll
3
4// Test with pch.
5// RUN: %clang_cc1 %s.h -emit-pch -o %t.pch
6// RUN: %clang_cc1 %s -include-pch %t.pch -emit-llvm -o %t.withpch.ll
7// RUN: diff %t.withoutpch.ll %t.withpch.ll