diff options
Diffstat (limited to 'test/Parser/builtin_classify_type.c')
-rw-r--r-- | test/Parser/builtin_classify_type.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Parser/builtin_classify_type.c b/test/Parser/builtin_classify_type.c index 6bed9ec666..7cf3d5cd92 100644 --- a/test/Parser/builtin_classify_type.c +++ b/test/Parser/builtin_classify_type.c @@ -9,8 +9,8 @@ int main() { struct foo s; static int ary[__builtin_classify_type(a)]; - static int ary2[(__builtin_classify_type)(a)]; // expected-error{{variable length array declared outside of any function}} - static int ary3[(*__builtin_classify_type)(a)]; // expected-error{{variable length array declared outside of any function}} + static int ary2[(__builtin_classify_type)(a)]; // expected-error{{arrays with static storage duration must have constant integer length}} + static int ary3[(*__builtin_classify_type)(a)]; // expected-error{{arrays with static storage duration must have constant integer length}} int result; |