summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/int-to-pointer.c
blob: 242a8a694259c78b221d4f7c988fa0017c7fbebd (about) (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -emit-llvm %s -o %t

void *test(int i)
{
  return (void *)i;
}