Mercurial > hg > CbC > CbC_llvm
view clang/test/SemaObjC/method-in-class-extension-impl.m @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics // rdar://8530080 @protocol ViewDelegate @end @interface NSTextView - (id <ViewDelegate>)delegate; @end @interface FooTextView : NSTextView @end @interface FooTextView() - (id)delegate; @end @implementation FooTextView - (id)delegate {return 0; } @end