Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
f94e215e4a67e5439d56a67bbe470c7860d4b9a6
/
.
/
test
/
SemaObjCXX
/
void_to_obj.mm
blob: bd2ef147bde9bcb01411dcd89ffb1966935a1dae [
file
] [
log
] [
blame
]
// RUN: clang -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 *'}}
}