aboutsummaryrefslogtreecommitdiff
path: root/test/func-vla.c
blob: 6718c05604f3a7b59ea6097368e10a0de6bdb5ef (plain)
1
2
3
4
5
6
7
8
int f(int n, long long (*a)[n]) {
	return sizeof *a;
}

int main(void) {
	long long a[5];
	return f(5, &a) != sizeof a;
}