repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git]
/
test
/
SemaObjC
/
va-method-1.m
blob
fe7ccd7632cd123bfd64e10489a58bc0b559f432
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
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