Commit 2c05a794 by Nathan Sidwell Committed by Nathan Sidwell

implicit1.C: Remove.

	* g++.old-deja/g++.ext/implicit1.C: Remove.
	* g++.old-deja/g++.jason/c2.C: Remove
	* g++.old-deja/g++.mike/p700.C: Add prototype parameters.
	* g++.old-deja/g++.pt/crash16.C: Likewise.
	* g++.old-deja/g++.brendan/crash43.C: Remove -fstrict-prototype.

From-SVN: r35252
parent 10dd7d29
2000-07-25 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.ext/implicit1.C: Remove.
* g++.old-deja/g++.jason/c2.C: Remove
* g++.old-deja/g++.mike/p700.C: Add prototype parameters.
* g++.old-deja/g++.pt/crash16.C: Likewise.
* g++.old-deja/g++.brendan/crash43.C: Remove -fstrict-prototype.
2000-07-25 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/for2.C: New test.
2000-07-25 Jakub Jelinek <jakub@redhat.com>
......
// Build don't link:
// Special g++ Options: -g -fno-strict-prototype
// Special g++ Options: -g
// GROUPS passed old-abort
// excess errors test - XFAIL sparc64-*-elf
extern "C" { typedef int jmp_buf[12]; }
......
// test for implicit declaration
// Special g++ Options: -w -fpermissive
int
main ()
{
return blarg ();
}
extern "C" int
blarg (...)
{
return 0;
}
// PRMS Id: 3134
// g++ understands C redeclaration semantics. Sun CC 2.0.1 doesn't.
// Special g++ Options:
// Build don't link:
extern "C" {
int foo();
int foo(int);
int bar(int);
int bar();
}
main()
{
foo (1);
bar (1);
}
......@@ -1514,9 +1514,9 @@ extern struct _iobuf *c_proto_fdopen ();
extern struct _iobuf *c_proto_freopen ();
extern struct _iobuf *c_proto_popen ();
extern struct _iobuf *tmpfile();
extern long ftell();
extern char *fgets();
extern char *gets();
extern long ftell(_iobuf *);
extern char *fgets(char *, int, _iobuf *);
extern char *gets(char *);
extern char *c_proto_sprintf ();
extern char *ctermid();
extern char *cuserid();
......@@ -1820,7 +1820,7 @@ struct tm {
extern struct tm *c_proto_gmtime (), *c_proto_localtime ();
extern char *c_proto_asctime (), *c_proto_ctime ();
extern void c_proto_tzset (), c_proto_tzsetwall ();
extern int dysize();
extern int dysize(int);
extern time_t timelocal(), timegm();
......@@ -1945,7 +1945,7 @@ struct tms {
};
clock_t times( );
clock_t times(tms * );
......
// Build don't link:
// Special g++ Options:
extern "C" void qsort();
extern "C" void qsort(void *base, __SIZE_TYPE__ nmemb, __SIZE_TYPE__ size,
int (*compar)(const void *, const void *));
struct R {
int count;
......
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