1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/C++Frontend/2008-01-11-BadWarning.cpp
Chris Lattner c23b7b79fa this actually does pass with 4.0
llvm-svn: 45899
2008-01-12 01:45:22 +00:00

7 lines
162 B
C++

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