From ec00b0f5673e36f754f83dc81f8fa9852cb0ef76 Mon Sep 17 00:00:00 2001 From: Chris Wailes Date: Thu, 7 Nov 2013 18:35:18 +0000 Subject: [PATCH] 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 --- test/SemaCXX/warn-consumed-analysis.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 { -- 2.49.0