brintos

brintos / llvm-project-archived public Read only

0
0
Text · 305 B · 3763a9b Raw
14 lines · plain
1// RUN: %clang_cc1 -verify -fsyntax-only -fblocks -Wcompletion-handler %s2 3// expected-no-diagnostics4 5class HasCtor {6  HasCtor(void *) {}7};8 9void double_call_one_block(void (^completionHandler)(void)) {10  completionHandler();11  completionHandler();12  // no-warning - we don't support C++/Obj-C++ yet13}14