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