llvm-for-llvmta/tools/clang/test/SemaCXX/2008-01-11-BadWarning.cpp

7 lines
176 B
C++
Raw Permalink Normal View History

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