llvm-for-llvmta/tools/clang/test/CodeGen/int-to-pointer.c

7 lines
82 B
C

// RUN: %clang_cc1 -emit-llvm %s -o %t
void *test(int i)
{
return (void *)i;
}