Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
ec3153360625b9c24e12d1b10668815271703a6e
/
.
/
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 *'}}
}