• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Test this without pch.
2 // RUN: %clang_cc1 -include %S/builtins.h -fsyntax-only -verify %s
3 
4 // Test with pch.
5 // RUN: %clang_cc1 -emit-pch -o %t %S/builtins.h
6 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
7 
8 // expected-no-diagnostics
9 
hello()10 void hello() {
11   printf("Hello, World!");
12 }
13