minix/external/bsd/llvm/dist/clang/test/SemaCXX/2008-01-11-BadWarning.cpp

7 lines
176 B
C++
Raw Normal View History

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