1// RUN: %clang_cc1 -verify -fsyntax-only -fblocks -Wcompletion-handler %s 2 3// expected-no-diagnostics 4 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++ yet 13} 14