repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
In gcc/objc/: 2010-11-08 Nicola Pero <nicola.pero@meta-innovation.com>
[official-gcc.git]
/
gcc
/
testsuite
/
objc.dg
/
typedef-alias-1.m
blob
79db8765ead812ec919eacf55826d0ad4468c44b
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