Add include needed for MSVC.
[clang/acc.git] / test / CodeGen / variable-array.c
blobf5621c289d7a5dda14253dc77bf9df20cef9f85b
1 // RUN: clang-cc -emit-llvm < %s | grep puts | count 4
3 // PR3248
4 int a(int x)
6 int (*y)[x];
7 return sizeof(*(puts("asdf"),y));
10 // PR3247
11 int b() {
12 return sizeof(*(char(*)[puts("asdf")])0);
15 // PR3247
16 int c() {
17 static int (*y)[puts("asdf")];
18 return sizeof(*y);