summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/int-to-pointer.c
blob: 7cefc3902ebcb9837eb123bb2a4dd07b4df48a44 (plain)
1
2
3
4
5
6
// RUN: clang-cc -emit-llvm %s -o %t

void *test(int i)
{
  return (void *)i;
}
OpenPOWER on IntegriCloud