Douglas Gregor | 77424bc | 2010-10-02 19:29:26 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-pch -o %t1 -detailed-preprocessing-record %S/Inputs/chain-macro1.h |
Douglas Gregor | b5af843 | 2011-08-25 22:54:01 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -emit-pch -o %t2 -detailed-preprocessing-record %S/Inputs/chain-macro2.h -include-pch %t1 |
Sebastian Redl | 083abdf | 2010-07-27 23:01:28 +0000 | [diff] [blame] | 3 | // RUN: %clang_cc1 -fsyntax-only -verify -include-pch %t2 %s |
| 4 | // RUN: %clang_cc1 -ast-print -include-pch %t2 %s | FileCheck %s |
| 5 | |
| 6 | // CHECK: void f(); |
| 7 | FOOBAR |
| 8 | // CHECK: void g(); |
| 9 | BARFOO |