On closer inspection, the runtimes / compilers were doing the right thing - the type encoding provided in Apple's documentation was wrong.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32945 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
theraven 2011-04-29 11:11:37 +00:00
parent 9b2b826548
commit e23cad7454

View file

@ -141,12 +141,9 @@ int main(void)
testProperty("intAssign", "Ti,VintAssign");
testProperty("idRetain", "T@,&,VidRetain");
testProperty("idCopy", "T@,C,VidCopy");
// The following tests fail on OS X too. This appears to be a bug in the
// compiler, not actually setting the nonatomic flag in the AST.
testHopeful = YES;
testProperty("intNonatomic", "Ti,VintNonatomic");
testProperty("idReadonlyCopyNonatomic", "T@,R,C,VidReadonlyCopyNonatomic");
testProperty("idReadonlyRetainNonatomic", "T@,R,&,VidReadonlyRetainNonatomic");
testProperty("intNonatomic", "Ti,N,VintNonatomic");
testProperty("idReadonlyCopyNonatomic", "T@,R,C,N,VidReadonlyCopyNonatomic");
testProperty("idReadonlyRetainNonatomic", "T@,R,&,N,VidReadonlyRetainNonatomic");
return 0;
}
#else