[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git] / test / Rewriter / rewrite-foreach-6.m
blob2aa19aecb82c5be25c6ad4c40a489422ebe48ee4
1 // RUN: %clang_cc1 %s -rewrite-objc -o -
2 // rdar://5716356
3 // FIXME: Should be able to pipe into clang, but code is not
4 // yet correct for other reasons: rdar://5716940
6 @class NSNotification;
7 @class NSMutableArray;
9 void foo(NSMutableArray *notificationArray, id X) {
10   for (NSNotification *notification in notificationArray)
11     [X postNotification:notification];