Richard Smith | 0f53846 | 2011-04-12 10:38:03 +0000 | [diff] [blame] | 1 | // Test this without pch. |
Hans Wennborg | c9bd88e | 2014-01-14 19:35:09 +0000 | [diff] [blame^] | 2 | // RUN: %clang_cc1 -x c++ -triple %itanium_abi_triple -std=c++11 -include %S/cxx-reference.h -fsyntax-only -emit-llvm -o - %s |
Richard Smith | 0f53846 | 2011-04-12 10:38:03 +0000 | [diff] [blame] | 3 | |
| 4 | // Test with pch. |
Hans Wennborg | c9bd88e | 2014-01-14 19:35:09 +0000 | [diff] [blame^] | 5 | // 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 |