From ec2b103c267a06a66e926f62cd96767b280f5cf5 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Tue, 2 Jun 2009 17:58:47 +0000 Subject: Import Clang, at r72732. --- test/CodeGen/int-to-pointer.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/CodeGen/int-to-pointer.c (limited to 'test/CodeGen/int-to-pointer.c') diff --git a/test/CodeGen/int-to-pointer.c b/test/CodeGen/int-to-pointer.c new file mode 100644 index 000000000000..7cefc3902ebc --- /dev/null +++ b/test/CodeGen/int-to-pointer.c @@ -0,0 +1,6 @@ +// RUN: clang-cc -emit-llvm %s -o %t + +void *test(int i) +{ + return (void *)i; +} -- cgit v1.3