1/*
2 * Copyright (c) 2010 Apple Inc. All rights reserved.
3 *
4 * @APPLE_LLVM_LICENSE_HEADER@
5 */
6
7/*
8 *  voidarg.c
9 *  testObjects
10 *
11 *  Created by Blaine Garst on 2/17/09.
12 *  Copyright 2009 Apple. All rights reserved.
13 *
14 */
15
16// PURPOSE should complain about missing 'void' but both GCC and clang are supporting K&R instead
17// TEST_DISABLED
18
19#import <stdio.h>
20#import "test.h"
21
22int Global;
23
24void (^globalBlock)() = ^{ ++Global; };         // should be void (^gb)(void) = ...
25
26int main(int argc __unused, char *argv[]) {
27    succeed(__FILE__);
28}
29