]> granicus.if.org Git - clang/commitdiff
Added a test case for the fix to bug 17632 in r193751
authorChris Wailes <chris.wailes@gmail.com>
Thu, 7 Nov 2013 18:35:18 +0000 (18:35 +0000)
committerChris Wailes <chris.wailes@gmail.com>
Thu, 7 Nov 2013 18:35:18 +0000 (18:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194212 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/warn-consumed-analysis.cpp

index 2aeae40bb5c6f734840a1530966a87c0aa0da5a5..8138df2f5c91568783f84e06b4aa3c3bb539e26c 100644 (file)
@@ -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 {