From e330f0fe21b630a6450983a89d604c727d3366b5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 11 Jan 2008 23:04:14 +0000 Subject: [PATCH] new testcase llvm-svn: 45888 --- test/C++Frontend/2008-01-11-BadWarning.cpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/C++Frontend/2008-01-11-BadWarning.cpp diff --git a/test/C++Frontend/2008-01-11-BadWarning.cpp b/test/C++Frontend/2008-01-11-BadWarning.cpp new file mode 100644 index 00000000000..43f6a7173b0 --- /dev/null +++ b/test/C++Frontend/2008-01-11-BadWarning.cpp @@ -0,0 +1,6 @@ +// RUN: %llvmgcc -xc++ %s -S -o /dev/null |& not grep warning +// rdar://5683899 +void** f(void **Buckets, unsigned NumBuckets) { + return Buckets + NumBuckets; +} +