Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
578b69b186d9cba0a6ae1dd7f4c04cd6a49f0aac
/
.
/
test
/
SemaObjCXX
/
void_to_obj.mm
blob: 932827e61425bda3789781ebc3e277b31db055bb [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// <rdar://problem/6463729>
@class
XX
;
void
func
()
{
XX
*
obj
;
void
*
vv
;
obj
=
vv
;
// expected-error{{incompatible type assigning 'void *', expected 'XX *'}}
}