blob: 2aa19aecb82c5be25c6ad4c40a489422ebe48ee4 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -rewrite-objc -o -
Chris Lattner338d1e22008-01-31 05:10:40 +00002// rdar://5716356
3// FIXME: Should be able to pipe into clang, but code is not
4// yet correct for other reasons: rdar://5716940
5
6@class NSNotification;
7@class NSMutableArray;
8
9void foo(NSMutableArray *notificationArray, id X) {
10 for (NSNotification *notification in notificationArray)
11 [X postNotification:notification];
12}
13