aboutsummaryrefslogtreecommitdiffstats
path: root/test/C++Frontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-11 23:04:14 +0000
committerChris Lattner <sabre@nondot.org>2008-01-11 23:04:14 +0000
commit28123d77e04a9b9da028362c7ac7e41a6e11a35d (patch)
tree94d80cbdce84c15c4d14be108f0f234bc4e47cc8 /test/C++Frontend
parent623a389f623dfef44f07211bd12fbd2a93db09e3 (diff)
downloadexternal_llvm-28123d77e04a9b9da028362c7ac7e41a6e11a35d.zip
external_llvm-28123d77e04a9b9da028362c7ac7e41a6e11a35d.tar.gz
external_llvm-28123d77e04a9b9da028362c7ac7e41a6e11a35d.tar.bz2
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend')
-rw-r--r--test/C++Frontend/2008-01-11-BadWarning.cpp6
1 files changed, 6 insertions, 0 deletions
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 0000000..43f6a71
--- /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;
+}
+