forked from OSchip/llvm-project
8 lines
154 B
Mathematica
8 lines
154 B
Mathematica
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
||
|
@interface A
|
||
|
@end
|
||
|
|
||
|
void f() {
|
||
|
(A){ 0 }; // expected-error{{cannot initialize Objective-C class type 'A'}}
|
||
|
}
|