New test case

From-SVN: r31098
This commit is contained in:
Martin v. Löwis 1999-12-27 11:36:24 +00:00
parent 7114581090
commit 7a555f6443

View File

@ -0,0 +1,11 @@
char* doit(int flag)
{
return 1 + (flag ? "\0wrong\n" : "\0right\n");
}
int main()
{
char *result = doit(0);
if (*result == 'r' && result[1] == 'i')
exit(0);
abort();
}