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

7 lines
82 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm %s -o %t
void *test(int i)
{
return (void *)i;
}