1 // RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm -o - %s | FileCheck %s
2 // RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm -o - %s -fexperimental-new-constant-interpreter | FileCheck %s
7 const char * inc = @encode(int[]);
10 const char * vla = @encode(int[n]);
16 int a[sizeof(@encode(int)) == 2 ? 1 : -1]; // Type is char[2]
17 const char *B = @encode(int);
18 char (*c)[2] = &@encode(int); // @encode is an lvalue
20 char d[] = @encode(int); // infer size.
21 char e[1] = @encode(int); // truncate
22 char f[2] = @encode(int); // fits
23 char g[3] = @encode(int); // zero fill