* gcc.c-torture/execute/
20001011-1.c: New testcase.
Testcase provided by Zack Weinberg <zackw@stanford.edu>.
From-SVN: r36839
+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
--- /dev/null
+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;
+}