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

7 lines
162 B
C++
Raw Normal View History

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