llvm-6502/test/C++Frontend/2008-01-11-BadWarning.cpp
Chris Lattner a3554a47ef this actually does pass with 4.0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45899 91177308-0d34-0410-b5e6-96231b3b80d8
2008-01-12 01:45:22 +00:00

7 lines
162 B
C++

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