Files
clang-p2996/clang/test/CodeGen/vector.c
Eli Friedman 7c7a0e86ae Fix silly mistake in test.
llvm-svn: 67897
2009-03-28 03:14:28 +00:00

14 lines
264 B
C

// RUN: clang-cc -emit-llvm %s -o -
typedef short __v4hi __attribute__ ((__vector_size__ (8)));
void f()
{
__v4hi A = (__v4hi)0LL;
}
__v4hi x = {1,2,3};
__v4hi y = {1,2,3,4};
typedef int vty __attribute((vector_size(16)));
int a() { vty b; return b[2LL]; }