blob: 2dfbcdc1382bfef9ca18149f3e8792b74e7e42d2 [file] [log] [blame]
Richard Smithdf1550f2011-04-12 10:38:03 +00001// Test this without pch.
Chad Rosier02a444d2011-05-02 20:39:21 +00002// RUN: %clang_cc1 -x c++ -std=c++0x -include %S/cxx-reference.h -fsyntax-only -emit-llvm -o - %s
Richard Smithdf1550f2011-04-12 10:38:03 +00003
4// Test with pch.
Chad Rosier02a444d2011-05-02 20:39:21 +00005// RUN: %clang_cc1 -x c++ -std=c++0x -emit-pch -o %t %S/cxx-reference.h
6// RUN: %clang_cc1 -x c++ -std=c++0x -include-pch %t -fsyntax-only -emit-llvm -o - %s