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