diff options
author | Eric Christopher <echristo@apple.com> | 2011-08-15 23:24:31 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-08-15 23:24:31 +0000 |
commit | f25a16233c26633e82a09e191ed83e3a0fdda205 (patch) | |
tree | b458e6c113f077c645704c5585f79d5582f04cd6 | |
parent | 7d458b0768160819d7380da8046a31ef092c601d (diff) |
Move test from llvm/test/FrontendCXX and update.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137682 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/SemaCXX/2008-01-11-BadWarning.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/SemaCXX/2008-01-11-BadWarning.cpp b/test/SemaCXX/2008-01-11-BadWarning.cpp new file mode 100644 index 0000000000..b84e7c1cf8 --- /dev/null +++ b/test/SemaCXX/2008-01-11-BadWarning.cpp @@ -0,0 +1,5 @@ +// RUN: %clang_cc1 -fsyntax-only -verify -Wall %s +// rdar://5683899 +void** f(void **Buckets, unsigned NumBuckets) { + return Buckets + NumBuckets; +} |