xref: /llvm-project/clang/test/CodeGen/pointer-to-int.c (revision a45cf5b6b0790e829ad47cf946c149d8f1007324)
1 // RUN: clang-cc -emit-llvm %s -o -
2 
3 int test(void* i)
4 {
5   return (int)i;
6 }
7 
8 // rdar://6093986
9 int test2(void) {
10   float x[2];
11   return x;
12 }
13 
14