blob: bf4582072b4831e3bd5830e6b0cc6ce7278e78fa [file] [log] [blame]
Blaine Garst86d0ba42010-08-04 23:34:21 +00001//
2// The LLVM Compiler Infrastructure
3//
4// This file is distributed under the University of Illinois Open Source
5// License. See LICENSE.TXT for details.
6
7/*
8 * shorthandexpression.c
9 * testObjects
10 *
11 * Created by Blaine Garst on 9/16/08.
12 *
13 * CONFIG error:
14 */
15
16
17void foo() {
18 void (^b)(void) = ^(void)printf("hello world\n");
19}
20
21int main(int argc, char *argv[]) {
22 printf("%s: this shouldn't compile\n", argv[0]);
23 return 1;
24}