Skip to content

Commit faed9c6

Browse files
committed
Added a test case for the fix to bug 17632 in r193751
llvm-svn: 194212
1 parent 72c5d91 commit faed9c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/test/SemaCXX/warn-consumed-analysis.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,8 @@ void testWhileLoop1() {
608608
*var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
609609
}
610610

611+
typedef const int*& IntegerPointerReference;
612+
void testIsRValueRefishAndCanonicalType(IntegerPointerReference a) {}
611613

612614
namespace ContinueICETest {
613615

0 commit comments

Comments
 (0)