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
StmtPrinter: factor out arg printing code to PrintCallArgs
[clang.git]
/
test
/
SemaObjCXX
/
vla.mm
blob
d6da1c0cf40e03cdc76d0704c9c9093aa90ac970
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
@interface Data
4
- (unsigned)length;
5
- (void)getData:(void*)buffer;
6
@end
7
8
void test(Data *d) {
9
char buffer[[d length]];
10
[d getData:buffer];
11
}
12