OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [objc.dg/] [typedef-alias-1.m] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 309 jeremybenn
/* Typedefs of ObjC types should work without any bogus warnings. */
2
/* { dg-do compile } */
3
 
4
#include "../objc-obj-c++-shared/Object1.h"
5
 
6
typedef Object MyObject;
7
 
8
int main (int argc, const char * argv[])
9
{
10
    Object* a = nil;
11
    MyObject* b = a;
12
    Object* c = b;
13
 
14
    return 0;
15
}
16
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.