[PATCH] Test case for r193751

Chris Wailes chris.wailes at gmail.com
Sun Nov 3 20:40:27 PST 2013


Hi delesley, aaron.ballman, silvas,

Added a test case for the fix to bug 17632 in r193751

http://llvm-reviews.chandlerc.com/D2094

Files:
  test/SemaCXX/warn-consumed-analysis.cpp

Index: test/SemaCXX/warn-consumed-analysis.cpp
===================================================================
--- test/SemaCXX/warn-consumed-analysis.cpp
+++ test/SemaCXX/warn-consumed-analysis.cpp
@@ -608,6 +608,8 @@
   *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 {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2094.1.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131103/173eed1e/attachment.bin>


More information about the cfe-commits mailing list