Move tests of the ObjC++ front-end to their own

directory: some people (guess who!) may build llvm-gcc
with support for objc but not with support for objc++.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54471 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands
2008-08-07 17:48:08 +00:00
parent 7d942001fa
commit dbfccf64d9
3 changed files with 5 additions and 2 deletions

View File

@@ -1,7 +0,0 @@
// RUN: %llvmgcc -w -x objective-c++ -c %s -o /dev/null
@class NSImage;
void bork() {
NSImage *nsimage;
[nsimage release];
}

View File

@@ -2,6 +2,4 @@ load_lib llvm.exp
if [ llvm_gcc_supports objc ] then {
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{m}]]
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{mm}]]
}