xref: /minix3/external/bsd/llvm/dist/clang/test/PCH/cxx-reference.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambuc // Test this without pch.
2*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -x c++ -triple %itanium_abi_triple -std=c++11 -include %S/cxx-reference.h -fsyntax-only -emit-llvm -o - %s
3f4a2713aSLionel Sambuc 
4f4a2713aSLionel Sambuc // Test with pch.
5*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -x c++ -triple %itanium_abi_triple -std=c++11 -emit-pch -o %t %S/cxx-reference.h
6*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -x c++ -triple %itanium_abi_triple -std=c++11 -include-pch %t -fsyntax-only -emit-llvm -o - %s
7