[cfe-commits] r137682 - /cfe/trunk/test/SemaCXX/2008-01-11-BadWarning.cpp
Eric Christopher
echristo at apple.com
Mon Aug 15 16:24:31 PDT 2011
Author: echristo
Date: Mon Aug 15 18:24:31 2011
New Revision: 137682
URL: http://llvm.org/viewvc/llvm-project?rev=137682&view=rev
Log:
Move test from llvm/test/FrontendCXX and update.
Added:
cfe/trunk/test/SemaCXX/2008-01-11-BadWarning.cpp
Added: cfe/trunk/test/SemaCXX/2008-01-11-BadWarning.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/2008-01-11-BadWarning.cpp?rev=137682&view=auto
==============================================================================
--- cfe/trunk/test/SemaCXX/2008-01-11-BadWarning.cpp (added)
+++ cfe/trunk/test/SemaCXX/2008-01-11-BadWarning.cpp Mon Aug 15 18:24:31 2011
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -Wall %s
+// rdar://5683899
+void** f(void **Buckets, unsigned NumBuckets) {
+ return Buckets + NumBuckets;
+}
More information about the cfe-commits
mailing list