summaryrefslogtreecommitdiffstats
path: root/test/PCH/changed-files.c
blob: 36453c48e7164c3a64504ea32ae5344e26af2ad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
const char *s0 = m0;

// RUN: echo '#define m0 ""' > %t.h
// RUN: %clang_cc1 -emit-pch -o %t.h.pch %t.h
// RUN: echo '' > %t.h
// RUN: not %clang_cc1 -include-pch %t.h.pch %s 2>&1 | grep "size of file"

// RUN: echo '#define m0 000' > %t.h
// RUN: %clang_cc1 -emit-pch -o %t.h.pch %t.h
// RUN: echo '' > %t.h
// RUN: not %clang_cc1 -include-pch %t.h.pch %s 2>&1 | grep "size of file"
OpenPOWER on IntegriCloud