mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
asan fixes for gcc and gnu runtime
This commit is contained in:
parent
018111efbb
commit
9cdb4f98ba
5 changed files with 13 additions and 6 deletions
|
@ -8,6 +8,7 @@ copyright 2004 Alexander Malmberg <alexander@malmberg.org>
|
|||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
START_SET("zero hash")
|
||||
NSString *s = @"!)9\" ;";
|
||||
unsigned int h;
|
||||
|
||||
|
@ -34,7 +35,7 @@ int main(int argc, char **argv)
|
|||
s = [NSString stringWithString: s];
|
||||
h = [s hash];
|
||||
PASS(h != 0, "[NSString hash] does not return 0");
|
||||
|
||||
END_SET("zero hash")
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue