Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
395228fdc343df39c2507e414dc1406a185c6d37
/
.
/
test
/
SemaCXX
/
vla.cpp
blob: d63b6335f453350b98af20d7dd71d733823f4c89 [
file
] [
log
] [
blame
]
Richard Smith
b03a9df
2012-03-13 05:56:40 +0000
[
diff
] [
blame
]
1
// RUN: %clang_cc1 -verify %s
2
3
// PR11925
4
int
n
;
5
int
(&
f
())[
n
];
// expected-error {{function declaration cannot have variably modified type}}