blob: 00065ebb9c15ef90835fe320a17d6c9a4852269b [file] [log] [blame]
Steve Naroffb29b4272008-04-14 22:03:09 +00001// RUN: clang -rewrite-objc %s -o=-
Steve Naroffb99a4a32007-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 Jahanian2338d582008-01-21 22:59:53 +000011 va_start(ap, types);
Steve Naroffb99a4a32007-12-18 03:41:15 +000012 while (*types) ;
13 va_end(ap);
14}
15
16@end
17