multiple typedef test

This commit is contained in:
bellard 2006-10-28 14:28:33 +00:00
parent 52b7254b9c
commit 365d0ad545

View File

@ -441,14 +441,21 @@ void enum_test()
typedef int *my_ptr;
typedef int mytype1;
typedef int mytype2;
void typedef_test()
{
my_ptr a;
mytype1 mytype2;
int b;
a = &b;
*a = 1234;
printf("typedef:\n");
printf("a=%d\n", *a);
mytype2 = 2;
printf("mytype2=%d\n", mytype2);
}
void forward_test()