llvm-g++ 4.0 has completely different code for this warning,
authorChris Lattner <sabre@nondot.org>
Fri, 11 Jan 2008 23:06:56 +0000 (23:06 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 11 Jan 2008 23:06:56 +0000 (23:06 +0000)
just xfail it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45890 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/2008-01-11-BadWarning.cpp

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