From: Anders Carlsson Date: Thu, 4 Nov 2010 12:18:32 +0000 (+0000) Subject: Pass a -I flag when compiling nullptr.cpp so the typeinfo header can be found. This... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c9d557301cc910d0562876e6a7b4595e3d2fb846;p=clang Pass a -I flag when compiling nullptr.cpp so the typeinfo header can be found. This should fix the errors seen on the bot. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118246 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/nullptr.cpp b/test/CodeGenCXX/nullptr.cpp index 0dca68f8bc..dddae26230 100644 --- a/test/CodeGenCXX/nullptr.cpp +++ b/test/CodeGenCXX/nullptr.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -std=c++0x -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s +// RUN: %clang_cc1 -std=c++0x -triple x86_64-apple-darwin10 -I%S -emit-llvm -o - %s | FileCheck %s #include