1 // RUN: %clang -fexceptions -fobjc-exceptions -S -emit-llvm %s -o /dev/null
19 @interface Frob: Object
22 @implementation Frob: Object
25 static Frob* _connection = ((void *)0);
27 extern void abort(void);
29 void test (Object* sendPort)
32 Frob* receivePort = ((void *)0);
35 receivePort = (Frob *) -1;
36 _connection = (Frob *) -1;
37 receivePort = ((void *)0);
38 sendPort = ((void *)0);
46 if(!(!receivePort)) abort();
47 if(!(!sendPort)) abort();
48 if(!(!cleanupPorts)) abort();