Commit 60b5c18d by DJ Delorie Committed by DJ Delorie

* gcc.c-torture/execute/pr36321.c: Don't rely on argv[0] being set.

From-SVN: r142170
parent 6e7cc036
2008-11-24 DJ Delorie <dj@redhat.com>
* gcc.c-torture/execute/pr36321.c: Don't rely on argv[0] being set.
2008-11-24 Mikael Morin <mikael.morin@tele2.fr>
PR fortran/38184
......
......@@ -16,9 +16,11 @@ void foo(char *str)
}
}
static char * volatile argp = "pr36321.x";
int main(int argc, char **argv)
{
foo (argv[0]);
foo (argp);
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment