forked from OSchip/llvm-project
11 lines
258 B
C++
11 lines
258 B
C++
|
// 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();
|
||
|
}
|