summaryrefslogtreecommitdiff
path: root/test/BlocksRuntime/c99.c
blob: 8f31ab3fdfb8c29bf7820b28a38355f6ecd6c261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.

//
//  c99.m
//
// CONFIG C99 rdar://problem/6399225

#import <stdio.h>
#import <stdlib.h>

int main(int argc, char *argv[]) {
    void (^blockA)(void) = ^ { ; };
    blockA();
    printf("%s: success\n", argv[0]);
    exit(0);
}