]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/SemaObjCXX/void_to_obj.mm
Update clang to r89337.
[FreeBSD/FreeBSD.git] / test / SemaObjCXX / void_to_obj.mm
1 // RUN: clang-cc -fsyntax-only -verify %s
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 }