summaryrefslogtreecommitdiffstats
path: root/llvm/test/C++Frontend/2008-01-11-BadWarning.cpp
blob: b292fccf874d2765dc40451da0d344c7d7232255 (plain)
1
2
3
4
5
6
7
// RUN: %llvmgcc -xc++ %s -S -o /dev/null |& not grep warning
// rdar://5683899
// XFAIL: llvmgcc4.0.1
void** f(void **Buckets, unsigned NumBuckets) {
  return Buckets + NumBuckets;
}

OpenPOWER on IntegriCloud