Home | History | Annotate | Download | only in Rewriter
      1 // RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5  %s -o -
      2 
      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;
     11    va_start(ap, types); 
     12    while (*types) ;
     13    va_end(ap);
     14 }
     15 
     16 @end
     17 
     18