llvm-project/clang/test/SemaCXX/2008-01-11-BadWarning.cpp

7 lines
176 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify -Wall %s
// expected-no-diagnostics
// rdar://5683899
void** f(void **Buckets, unsigned NumBuckets) {
return Buckets + NumBuckets;
}