diff options
Diffstat (limited to 'clang/test/Sema/objc-comptypes-4.m')
-rw-r--r-- | clang/test/Sema/objc-comptypes-4.m | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/clang/test/Sema/objc-comptypes-4.m b/clang/test/Sema/objc-comptypes-4.m deleted file mode 100644 index bda9050..0000000 --- a/clang/test/Sema/objc-comptypes-4.m +++ /dev/null @@ -1,25 +0,0 @@ -// RUN: clang -fsyntax-only -verify %s - -extern void foo(); - -@protocol MyProtocol @end - -@interface MyClass @end - -int main() -{ - MyClass <MyProtocol> *obj_p; - MyClass *obj_cp; - - obj_cp = obj_p; - obj_p = obj_cp; - - if (obj_cp == obj_p) - foo(); - - if (obj_p == obj_cp) - foo(); - -} - - |