brintos

brintos / llvm-project-archived public Read only

0
0
Text · 317 B · 78d9367 Raw
18 lines · plain
1// RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5  %s -o -2 3#include <stdarg.h>4 5@interface NSObject @end6@interface XX : NSObject @end7 8@implementation XX9- (void)encodeValuesOfObjCTypes:(const char *)types, ... {10   va_list ap;11   va_start(ap, types); 12   while (*types) ;13   va_end(ap);14}15 16@end17 18