1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
13 lines
191 B
Plaintext
13 lines
191 B
Plaintext
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
|
|
@interface Data
|
|
- (unsigned)length;
|
|
- (void)getData:(void*)buffer;
|
|
@end
|
|
|
|
void test(Data *d) {
|
|
char buffer[[d length]];
|
|
[d getData:buffer];
|
|
}
|
|
|