2011-02-20 13:06:31 +00:00
|
|
|
// RUN: %clang_cc1 -emit-pch -o %t1 -detailed-preprocessing-record %S/Inputs/chain-macro1.h
|
2011-10-20 21:14:49 +00:00
|
|
|
// RUN: %clang_cc1 -emit-pch -o %t2 -detailed-preprocessing-record %S/Inputs/chain-macro2.h -include-pch %t1
|
2010-09-17 15:54:40 +00:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify -include-pch %t2 %s
|
|
|
|
// RUN: %clang_cc1 -ast-print -include-pch %t2 %s | FileCheck %s
|
2012-12-02 13:20:44 +00:00
|
|
|
// expected-no-diagnostics
|
2010-09-17 15:54:40 +00:00
|
|
|
|
|
|
|
// CHECK: void f();
|
|
|
|
FOOBAR
|
|
|
|
// CHECK: void g();
|
|
|
|
BARFOO
|