blob: 3763a9b219f240a4d5e6d45c804bf591b714c419 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// RUN: %clang_cc1 -verify -fsyntax-only -fblocks -Wcompletion-handler %s
// expected-no-diagnostics
class HasCtor {
HasCtor(void *) {}
};
void double_call_one_block(void (^completionHandler)(void)) {
completionHandler();
completionHandler();
// no-warning - we don't support C++/Obj-C++ yet
}
|