llvm-g++ 4.0 has completely different code for this warning,

just xfail it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45890 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2008-01-11 23:06:56 +00:00
parent 28123d77e0
commit 48e1dce486

View File

@ -1,5 +1,6 @@
// RUN: %llvmgcc -xc++ %s -S -o /dev/null |& not grep warning // RUN: %llvmgcc -xc++ %s -S -o /dev/null |& not grep warning
// rdar://5683899 // rdar://5683899
// XFAIL: llvmgcc4.0.1
void** f(void **Buckets, unsigned NumBuckets) { void** f(void **Buckets, unsigned NumBuckets) {
return Buckets + NumBuckets; return Buckets + NumBuckets;
} }