2012-06-20 14:18:46 +08:00
|
|
|
// RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o -
|
2007-12-18 11:41:15 +08:00
|
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
@interface NSObject @end
|
|
|
|
@interface XX : NSObject @end
|
|
|
|
|
|
|
|
@implementation XX
|
|
|
|
- (void)encodeValuesOfObjCTypes:(const char *)types, ... {
|
|
|
|
va_list ap;
|
2008-01-22 06:59:53 +08:00
|
|
|
va_start(ap, types);
|
2007-12-18 11:41:15 +08:00
|
|
|
while (*types) ;
|
|
|
|
va_end(ap);
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|
|
|
|
|