Commit 7d2cf7e3 by David Edelsohn Committed by David Edelsohn

pr15551.C: Include cstdio.

        * g++.dg/opt/pr15551.C: Include cstdio.
        (main): Use remove instead of unlink.

From-SVN: r113206
parent 44cabb12
2006-04-23 David Edelsohn <edelsohn@gnu.org>
* g++.dg/opt/pr15551.C: Include cstdio.
(main): Use remove instead of unlink.
2006-04-23 Eric Botcazou <ebotcazou@adacore.com>
* gcc.dg/sibcall-7.c: New test.
......@@ -7,6 +7,7 @@
#include <cstring>
#include <fstream>
#include <cstdio>
using namespace std;
ostream* logfile;
......@@ -19,7 +20,7 @@ int main () {
strcpy(expList, "foo");
delete logfile;
unlink ("bar");
remove ("bar");
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