freebsd-nq/test/CodeGen/pointer-to-int.c
2010-01-01 10:34:51 +00:00

14 lines
144 B
C

// RUN: %clang_cc1 -emit-llvm %s -o -
int test(void* i)
{
return (int)i;
}
// rdar://6093986
int test2(void) {
float x[2];
return x;
}