Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Douglas Gregor | 50f4e70 | 2009-02-07 17:16:20 +0000 | [diff] [blame] | 2 | |
3 | // <rdar://problem/6463729> | ||||
4 | @class XX; | ||||
5 | |||||
6 | void func() { | ||||
7 | XX *obj; | ||||
8 | void *vv; | ||||
9 | |||||
10 | obj = vv; // expected-error{{incompatible type assigning 'void *', expected 'XX *'}} | ||||
11 | } |