| 1 | // 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 |
| 8 |