10f538460SRichard Smith // Test this without pch.
2*c9bd88e6SHans Wennborg // RUN: %clang_cc1 -x c++ -triple %itanium_abi_triple -std=c++11 -include %S/cxx-reference.h -fsyntax-only -emit-llvm -o - %s
30f538460SRichard Smith 
40f538460SRichard Smith // Test with pch.
5*c9bd88e6SHans Wennborg // RUN: %clang_cc1 -x c++ -triple %itanium_abi_triple -std=c++11 -emit-pch -o %t %S/cxx-reference.h
6*c9bd88e6SHans Wennborg // RUN: %clang_cc1 -x c++ -triple %itanium_abi_triple -std=c++11 -include-pch %t -fsyntax-only -emit-llvm -o - %s
7