]> granicus.if.org Git - clang/commitdiff
Pass a -I flag when compiling nullptr.cpp so the typeinfo header can be found. This...
authorAnders Carlsson <andersca@mac.com>
Thu, 4 Nov 2010 12:18:32 +0000 (12:18 +0000)
committerAnders Carlsson <andersca@mac.com>
Thu, 4 Nov 2010 12:18:32 +0000 (12:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118246 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/nullptr.cpp

index 0dca68f8bcae4e1c55376d7ca76677cc2234aecc..dddae2623069838f06ee35ed1499d6669b12bab0 100644 (file)
@@ -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>