2006-04-06 Jakub Jelinek * objc/compile/20060406-1.m: New test. --- gcc/testsuite/objc/compile/20060406-1.m.jj 2006-04-06 17:25:59.000000000 +0200 +++ gcc/testsuite/objc/compile/20060406-1.m 2006-04-06 17:20:48.000000000 +0200 @@ -0,0 +1,21 @@ +typedef struct +{ + void *p; +} *S; + +@protocol O +- (unsigned)j; +@end + +@interface I ++ (unsigned char)T:(S[2])p v:(S)h; +@end + +@implementation I ++ (unsigned char)T:(S[2])p v:(S)h +{ + p[0] = (S) 0; + p[1] = (S) 0; + return 0; +} +@end