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