new testcase
authorChris Lattner <sabre@nondot.org>
Fri, 11 Jan 2008 23:04:14 +0000 (23:04 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 11 Jan 2008 23:04:14 +0000 (23:04 +0000)
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 [new file with mode: 0644]

diff --git a/test/C++Frontend/2008-01-11-BadWarning.cpp b/test/C++Frontend/2008-01-11-BadWarning.cpp
new file mode 100644 (file)
index 0000000..43f6a71
--- /dev/null
@@ -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;
+}
+