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
2007-03-01 Paul Brook <paul@codesourcery.com>
[official-gcc.git]
/
gcc
/
testsuite
/
objc.dg
/
typedef-alias-1.m
blob
beed72701219fc00b94284b995f7afe55afe62b6
1
/* Typedefs of ObjC types should work without any bogus warnings. */
2
/* { dg-do compile } */
3
4
#include <objc/Object.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