2009-12-15 01:43:07 +08:00
|
|
|
// RUN: clang -cc1 -fsyntax-only -verify %s
|
2009-02-08 01:16:20 +08:00
|
|
|
|
|
|
|
// <rdar://problem/6463729>
|
|
|
|
@class XX;
|
|
|
|
|
|
|
|
void func() {
|
|
|
|
XX *obj;
|
|
|
|
void *vv;
|
|
|
|
|
|
|
|
obj = vv; // expected-error{{incompatible type assigning 'void *', expected 'XX *'}}
|
|
|
|
}
|