summaryrefslogtreecommitdiff
path: root/clang/test/PCH/cxx-functions.cpp
blob: 74df01a094b3679e589fcb99cafcff8ad64315d3 (about) (plain)
1
2
3
4
5
6
7
8
9
10
// Test this without pch.
// RUN: %clang_cc1 -include %S/cxx-functions.h -fsyntax-only -verify %s

// RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/cxx-functions.h
// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s


void test_foo() {
  foo();
}