diff options
Diffstat (limited to 'test/SemaObjCXX/arc-ppe.mm')
-rw-r--r-- | test/SemaObjCXX/arc-ppe.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjCXX/arc-ppe.mm b/test/SemaObjCXX/arc-ppe.mm index c9ff811..193f273 100644 --- a/test/SemaObjCXX/arc-ppe.mm +++ b/test/SemaObjCXX/arc-ppe.mm @@ -13,4 +13,4 @@ void test1() { (void)typeid(NP((void*)(id*)0)); } class Poly { virtual ~Poly(); }; Poly& P(void*); -void test2() { (void)typeid(P((void*)(id*)0)); } // expected-error {{pointer to non-const type 'id'}} +void test2() { (void)typeid(P((void*)(id*)0)); } // expected-error {{pointer to non-const type 'id'}} expected-warning {{expression with side effects will be evaluated despite being used as an operand to 'typeid'}} |