summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/2008-10-23-invalid-icmp.m
blob: ce01bdb489abdf7f846163a812f3c089f44a5fb2 (about) (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));
}