Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
f6cde77d7bc34bbee26b086ff192637af8e9da59
/
.
/
test
/
SemaObjCXX
/
void_to_obj.mm
blob: 52510c84f139acab66881ff93fc5d62b94b967ec [
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{{assigning to 'XX *' from incompatible type 'void *'}}
}