16 lines · plain
1// RUN: %clang_cc1 -std=c++23 -fsyntax-only -fobjc-arc -fblocks %s2 3void block_receiver(int (^)() );4 5int f1() {6 if constexpr (0)7 (block_receiver)(^{ return 2; });8 return 1;9}10 11int f2() {12 if constexpr (0)13 return (^{ return 2; })();14 return 1;15}16