[PATCH] Test case for r193751

Aaron Ballman aaron.ballman at gmail.com
Mon Nov 4 04:45:18 PST 2013


On Sun, Nov 3, 2013 at 11:40 PM, Chris Wailes <chris.wailes at gmail.com> wrote:
> 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) {}

Typo?

~Aaron



More information about the cfe-commits mailing list