summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX
diff options
context:
space:
mode:
authorChris Wailes <chris.wailes@gmail.com>2013-11-07 18:35:18 +0000
committerChris Wailes <chris.wailes@gmail.com>2013-11-07 18:35:18 +0000
commitfaed9c671edbf07389e304c16c2f112909bd43f7 (patch)
treed5171e3c001714e84bc7618280d12ec1e2bf6c8b /clang/test/SemaCXX
parent72c5d911714e990b1125a2c16a2585092bfe254e (diff)
downloadbcm5719-llvm-faed9c671edbf07389e304c16c2f112909bd43f7.tar.gz
bcm5719-llvm-faed9c671edbf07389e304c16c2f112909bd43f7.zip
Added a test case for the fix to bug 17632 in r193751
llvm-svn: 194212
Diffstat (limited to 'clang/test/SemaCXX')
-rw-r--r--clang/test/SemaCXX/warn-consumed-analysis.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/warn-consumed-analysis.cpp b/clang/test/SemaCXX/warn-consumed-analysis.cpp
index 2aeae40bb5c..8138df2f5c9 100644
--- a/clang/test/SemaCXX/warn-consumed-analysis.cpp
+++ b/clang/test/SemaCXX/warn-consumed-analysis.cpp
@@ -608,6 +608,8 @@ void testWhileLoop1() {
*var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
}
+typedef const int*& IntegerPointerReference;
+void testIsRValueRefishAndCanonicalType(IntegerPointerReference a) {}
namespace ContinueICETest {
OpenPOWER on IntegriCloud