Michael Wu | 40ff105 | 2018-08-03 05:20:23 +0000 | [diff] [blame] | 1 | @interface Foo |
2 | -(instancetype)init; | ||||
3 | @end | ||||
4 | |||||
5 | // RUN: env CINDEXTEST_VISIT_IMPLICIT_ATTRIBUTES=1 c-index-test -test-print-decl-attributes %s -fobjc-arc | FileCheck %s | ||||
6 | // CHECK: ObjCInstanceMethodDecl=init:2:16 attribute(ns_consumes_self)= attribute(ns_returns_retained)= |