]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/PCH/cxx-reference.cpp
Vendor import of clang release_30 branch r142614:
[FreeBSD/FreeBSD.git] / test / PCH / cxx-reference.cpp
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