blob: eed2224d415fee36b3f76fea62a97ba985fdfe58 [file] [log] [blame]
Douglas Gregor668c1a42009-04-21 22:25:48 +00001// Test this without pch.
Daniel Dunbara5728872009-12-15 20:14:24 +00002// RUN: %clang_cc1 -include %S/builtins.h -fsyntax-only -verify %s
Douglas Gregor668c1a42009-04-21 22:25:48 +00003
4// Test with pch.
Daniel Dunbara5728872009-12-15 20:14:24 +00005// RUN: %clang_cc1 -emit-pch -o %t %S/builtins.h
6// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
Douglas Gregor668c1a42009-04-21 22:25:48 +00007
8void hello() {
9 printf("Hello, World!");
10}