OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
In gcc/objc/:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
objc.dg
/
typedef-alias-1.m
1
/* 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