llvm-for-llvmta/tools/clang/test/CodeGen/pointer-to-int.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02: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;
}