1 // RUN: %clang_cc1 -emit-llvm < %s | grep puts | count 4
2 
3 // PR3248
4 int a(int x)
5 {
6   int (*y)[x];
7   return sizeof(*(puts("asdf"),y));
8 }
9 
10 // PR3247
11 int b() {
12   return sizeof(*(char(*)[puts("asdf")])0);
13 }
14 
15 // PR3247
16 int c() {
17   static int (*y)[puts("asdf")];
18   return sizeof(*y);
19 }
20