mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 10:11:03 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6364 72102866-910b-0410-8b05-ffd578937521
10 lines
231 B
C
10 lines
231 B
C
/* Exit with status 0 if vasprintf returns the length of the string printed.
|
|
Some systems return a pointer to the string instead. */
|
|
|
|
int main ()
|
|
{
|
|
char *buf;
|
|
if (vasprintf (&buf, "1234") == 4)
|
|
exit (0);
|
|
exit (-1);
|
|
}
|