blob: becb9356731b29da31cd93d8141274f44097767a [file] [log] [blame]
Richard Smith0f538462011-04-12 10:38:03 +00001// Test this without pch.
Hans Wennborgc9bd88e2014-01-14 19:35:09 +00002// RUN: %clang_cc1 -x c++ -triple %itanium_abi_triple -std=c++11 -include %S/cxx-reference.h -fsyntax-only -emit-llvm -o - %s
Richard Smith0f538462011-04-12 10:38:03 +00003
4// Test with pch.
Hans Wennborgc9bd88e2014-01-14 19:35:09 +00005// RUN: %clang_cc1 -x c++ -triple %itanium_abi_triple -std=c++11 -emit-pch -o %t %S/cxx-reference.h
6// RUN: %clang_cc1 -x c++ -triple %itanium_abi_triple -std=c++11 -include-pch %t -fsyntax-only -emit-llvm -o - %s