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