Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o %t %s |
Anders Carlsson | 6cd586d | 2009-01-30 16:41:04 +0000 | [diff] [blame] | 2 | |
3 | // PR3442 | ||||
4 | |||||
John McCall | 15e310a | 2011-02-19 02:53:41 +0000 | [diff] [blame] | 5 | void *g(unsigned long len); |
Anders Carlsson | 6cd586d | 2009-01-30 16:41:04 +0000 | [diff] [blame] | 6 | |
7 | void | ||||
8 | f(int n) | ||||
9 | { | ||||
10 | unsigned begin_set[n]; | ||||
11 | |||||
12 | g(sizeof(begin_set)); | ||||
13 | } |