Commit d0b43a40 by Geoff Keating Committed by Geoffrey Keating

20001011-1.c: New testcase.

	* gcc.c-torture/execute/20001011-1.c: New testcase.
	Testcase provided by Zack Weinberg <zackw@stanford.edu>.

From-SVN: r36839
parent a3cfd96a
2000-10-11 Geoff Keating <geoffk@cygnus.com>
* gcc.c-torture/execute/20001011-1.c: New testcase.
Testcase provided by Zack Weinberg <zackw@stanford.edu>.
2000-10-10 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/991209-1.c (stack_ptr): Use __asm, not asm, so that -ansi
......
extern void abort(void);
extern int strcmp(const char *, const char *);
int foo(const char *a)
{
return strcmp(a, "main");
}
int main(void)
{
if(foo(__FUNCTION__))
abort();
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