blob: 7b288bb3de2dd7b476e462c70becf1c68ee1be1b [file] [log] [blame]
Douglas Gregor4d9e7382010-05-03 18:24:37 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s
2@interface A
3@end
4
5void f() {
6 (A){ 0 }; // expected-error{{cannot initialize Objective-C class type 'A'}}
7}