blob: c5fc91251933386655c766713e9199ba7b085bc4 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o %t %s
Anders Carlsson6cd586d2009-01-30 16:41:04 +00002
3// PR3442
4
John McCall15e310a2011-02-19 02:53:41 +00005void *g(unsigned long len);
Anders Carlsson6cd586d2009-01-30 16:41:04 +00006
7void
8f(int n)
9{
10 unsigned begin_set[n];
11
12 g(sizeof(begin_set));
13}