blob: bdc0aea65639faf05f51b592290b2445a6ce01ab [file] [log] [blame]
Douglas Gregorf4f6c9d2010-07-26 21:36:20 +00001// Check that using the preamble option actually skips the preamble.
2
3// RUN: %clang_cc1 -emit-pch -o %t %S/Inputs/preamble.h
4// RUN: %clang_cc1 -include-pch %t -preamble-bytes=278,1 -DFOO=f -verify %s
5
6float f(int); // Not an error, because we skip this via the preamble!
7
8
9
10
11
12
13
14
15
16
17
18
19int g(int x) {
20 return FOO(x);
21}