diff options
Diffstat (limited to 'lib/BlocksRuntime/tests/voidarg.c')
| -rw-r--r-- | lib/BlocksRuntime/tests/voidarg.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/BlocksRuntime/tests/voidarg.c b/lib/BlocksRuntime/tests/voidarg.c deleted file mode 100644 index a8f034b47..000000000 --- a/lib/BlocksRuntime/tests/voidarg.c +++ /dev/null @@ -1,27 +0,0 @@ -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. - -/* - * voidarg.c - * testObjects - * - * Created by Blaine Garst on 2/17/09. - * - */ - -// PURPOSE should complain about missing 'void' but both GCC and clang are supporting K&R instead -// CONFIG open error: - -#include <stdio.h> - -int Global; - -void (^globalBlock)() = ^{ ++Global; }; // should be void (^gb)(void) = ... - -int main(int argc, char *argv[]) { - printf("%s: success", argv[0]); - return 0; -} |
