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