xref: /llvm-project/clang/test/PCH/cxx-invalid-destructor.cpp (revision eed0af6179ca4fe9e60121e0829ed8d3849b1ce5)
1 // RUN: %clang_cc1 -x c++ -std=c++11 -emit-pch -o %t %S/cxx-invalid-destructor.h -fallow-pch-with-compiler-errors
2 // RUN: %clang_cc1 -x c++ -std=c++11 -include-pch %t %S/cxx-invalid-destructor.cpp -fsyntax-only -fno-validate-pch
3 
4 Foo f;
5