1// RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm -o - %s | FileCheck %s 2 3int main() { 4 int n; 5 6 const char * inc = @encode(int[]); 7// CHECK: ^i 8// CHECK-NOT: ^i 9 const char * vla = @encode(int[n]); 10// CHECK: [0i] 11// CHECK-NOT: [0i] 12} 13 14// PR3648 15int a[sizeof(@encode(int)) == 2 ? 1 : -1]; // Type is char[2] 16const char *B = @encode(int); 17char (*c)[2] = &@encode(int); // @encode is an lvalue 18 19char d[] = @encode(int); // infer size. 20char e[1] = @encode(int); // truncate 21char f[2] = @encode(int); // fits 22char g[3] = @encode(int); // zero fill 23 24