reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | // RUN: %clang_cc1 -fblocks -fsyntax-only -verify %s // RUN: %clang_cc1 -fblocks -fobjc-arc -fsyntax-only -verify %s // expected-no-diagnostics // rdar://17259812 typedef void (^BT) (); class S { BT br() __attribute__((ns_returns_retained)) { return ^{}; } BT br1() __attribute__((ns_returns_retained)); }; BT S::br1() { return ^{}; } |