From 28123d77e04a9b9da028362c7ac7e41a6e11a35d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 11 Jan 2008 23:04:14 +0000 Subject: [PATCH] new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45888 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; +} +