aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/nullptr.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-11-04 12:18:32 +0000
committerAnders Carlsson <andersca@mac.com>2010-11-04 12:18:32 +0000
commitc9d557301cc910d0562876e6a7b4595e3d2fb846 (patch)
tree4a66a0f887b6f4584b0e18f3c061408ec962bec9 /test/CodeGenCXX/nullptr.cpp
parentc80117e7971c34088f3e254c849ec3a40205d2c3 (diff)
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
Diffstat (limited to 'test/CodeGenCXX/nullptr.cpp')
-rw-r--r--test/CodeGenCXX/nullptr.cpp2
1 files changed, 1 insertions, 1 deletions
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 <typeinfo>