xref: /llvm-project/clang/test/CodeGen/int-to-pointer.c (revision 19d84c3c51766ea618564af439188f349a4e87e8)
1 // RUN: clang -emit-llvm %s -o %t
2 
3 void *test(int i)
4 {
5   return (void *)i;
6 }
7