freebsd-dev/test/CodeGen/int-to-pointer.c

7 lines
82 B
C
Raw Normal View History

2010-01-01 10:34:51 +00:00
// RUN: %clang_cc1 -emit-llvm %s -o %t
2009-06-02 17:58:47 +00:00
void *test(int i)
{
return (void *)i;
}