diff options
Diffstat (limited to 'clang/test/CodeGen/2008-08-04-void-pointer-arithmetic.c')
-rw-r--r-- | clang/test/CodeGen/2008-08-04-void-pointer-arithmetic.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGen/2008-08-04-void-pointer-arithmetic.c b/clang/test/CodeGen/2008-08-04-void-pointer-arithmetic.c new file mode 100644 index 0000000..dbfc107 --- /dev/null +++ b/clang/test/CodeGen/2008-08-04-void-pointer-arithmetic.c @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 -emit-llvm -o - %s +// <rdar://problem/6122967> + +int f0(void *a, void *b) { + return a - b; +} |