Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
12bbc5c92209e0a7db2f71cfe03b84cb32df6adb
/
.
/
test
/
SemaObjCXX
/
vla.mm
blob: d6da1c0cf40e03cdc76d0704c9c9093aa90ac970 [
file
] [
log
] [
blame
]
// 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
];
}