blob: 3bea346a7fb92853f83f50f982edd1a152c3ee01 [file] [log] [blame]
Steve Naroffb29b4272008-04-14 22:03:09 +00001// RUN: clang %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