blob: 78d9367819b512fcc21f5e294586b3ed0d9afd24 [file] [log] [blame]
John McCall260611a2012-06-20 06:18:46 +00001// RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %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