mirror of
https://github.com/opnsense/src.git
synced 2026-02-28 04:10:49 -05:00
11 lines
212 B
Text
11 lines
212 B
Text
// 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 *'}}
|
|
}
|