blob: 3208520c5a55e37d0246bebba38fc4a2b6a1a568 [file] [log] [blame]
Steve Naroffa3b98522008-03-26 22:28:40 +00001// RUN: clang -rewrite-test %s -o=-
Steve Naroffc1a88c12007-12-18 03:41:15 +00002
3#include <stdarg.h>
4
5@interface NSObject @end
6@interface XX : NSObject @end
7
8@implementation XX
9- (void)encodeValuesOfObjCTypes:(const char *)types, ... {
10 va_list ap;
Fariborz Jahanian00a313b2008-01-21 22:59:53 +000011 va_start(ap, types);
Steve Naroffc1a88c12007-12-18 03:41:15 +000012 while (*types) ;
13 va_end(ap);
14}
15
16@end
17