summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2008-08-04-void-pointer-arithmetic.c
blob: dbfc107da5cc8e8ff14bb6fb10eee61303cd804c (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -emit-llvm -o - %s
// <rdar://problem/6122967>

int f0(void *a, void *b) {
  return a - b;
}