| // RUN: %clang_cc1 -emit-llvm %s -o %t -triple=x86_64-apple-darwin9 |
| // RUN: grep "@a = global i64 -1" %t |
| // RUN: grep "@aa = global \[2 x i64\] \[i64 -1, i64 -1\]" %t |
| // RUN: grep "@aaa = global \[2 x \[2 x i64\]\] \[\[2 x i64\] \[i64 -1, i64 -1\], \[2 x i64\] \[i64 -1, i64 -1\]\]" %t |
| // RUN: grep "@b = global i64 -1" %t |
| // RUN: grep "%.* = icmp ne i64 %.*, -1" %t | count 2 |
| // RUN: grep "%.* = icmp ne i64 -1, %.*" %t | count 1 |
| // RUN: grep "%.* = icmp eq i64 %.*, -1" %t | count 1 |
| // RUN: grep "%.* = icmp eq i64 -1, %.*" %t | count 1 |