Commit 0c9b7e9b by Ziemowit Laski Committed by Ziemowit Laski

typedef-alias-1.mm: New.

[gcc/testsuite/ChangeLog]
2005-06-23  Ziemowit Laski  <zlaski@apple.com>

        * obj-c++.dg/typedef-alias-1.mm: New.
        * objc.dg/typedef-alias-1.m: New.

From-SVN: r101281
parent 602174ab
2005-06-23 Ziemowit Laski <zlaski@apple.com>
* obj-c++.dg/typedef-alias-1.mm: New.
* objc.dg/typedef-alias-1.m: New.
2005-06-23 Jeff Law <law@redhat.com>
* gcc.dg/tree-ssa/vrp16.c: New test.
......
/* Typedefs of ObjC types should work without any bogus warnings. */
/* { dg-do compile } */
#include <objc/Object.h>
typedef Object MyObject;
int main (int argc, const char * argv[])
{
Object* a = nil;
MyObject* b = a;
Object* c = b;
return 0;
}
/* Typedefs of ObjC types should work without any bogus warnings. */
/* { dg-do compile } */
#include <objc/Object.h>
typedef Object MyObject;
int main (int argc, const char * argv[])
{
Object* a = nil;
MyObject* b = a;
Object* c = b;
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment