From: Chris Wailes Date: Thu, 7 Nov 2013 18:35:18 +0000 (+0000) Subject: Added a test case for the fix to bug 17632 in r193751 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec00b0f5673e36f754f83dc81f8fa9852cb0ef76;p=clang Added a test case for the fix to bug 17632 in r193751 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194212 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/warn-consumed-analysis.cpp b/test/SemaCXX/warn-consumed-analysis.cpp index 2aeae40bb5..8138df2f5c 100644 --- a/test/SemaCXX/warn-consumed-analysis.cpp +++ b/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 {