Sign in
cobalt
/
cobalt
/
73dfa201cdae82aa9fcc0c4d0408296f44feb6d6
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
SemaObjC
/
compound-init.m
blob: 7b288bb3de2dd7b476e462c70becf1c68ee1be1b [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
@interface
A
@end
void
f
()
{
(
A
){
0
};
// expected-error{{cannot initialize Objective-C class type 'A'}}
}