summaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/2008-10-23-invalid-icmp.m
blob: 65fbf9bc092c0d7d3194f6576c58bc481c22b962 (plain)
1
2
3
4
5
6
7
// RUN: clang -cc1 -emit-llvm -o %t %s

@protocol P @end

int f0(id<P> d) {
  return (d != ((void*) 0));
}