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