// Test this without pch.
// RUN: %clang_cc1 -fsyntax-only %s -DBODY
// Test with pch.
// RUN: %clang_cc1 -emit-pch -o %t %s
// RUN: %clang_cc1 -include-pch %t -fsyntax-only %s -DBODY
// Test with pch with template instantiation in the pch.
// RUN: %clang_cc1 -emit-pch -fpch-instantiate-templates -o %t %s -verify
void ;
; // @16
void // @17 instantiation not performed yet
void ; // @20
;
// expected-error@20 {{variable has incomplete type}}
// expected-note@17 {{in instantiation of function template specialization}}
// expected-note@16 {{forward declaration}}