llvm/test/FrontendC++/2008-01-11-BadWarning.cpp

7 lines
162 B
C++
Raw Normal View History

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