* gcc.c-torture/execute/20001121-1.c: New test.
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Nov 2000 17:32:08 +0000 (17:32 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Nov 2000 17:32:08 +0000 (17:32 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37618 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20001121-1.c [new file with mode: 0644]

index 572e897..018d6b8 100644 (file)
@@ -1,3 +1,7 @@
+2000-11-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.c-torture/execute/20001121-1.c: New test.
+
 2000-11-21  Richard Henderson  <rth@redhat.com>
 
        * gcc.c-torture/compile/20001121-1.c: New test.
diff --git a/gcc/testsuite/gcc.c-torture/execute/20001121-1.c b/gcc/testsuite/gcc.c-torture/execute/20001121-1.c
new file mode 100644 (file)
index 0000000..3647456
--- /dev/null
@@ -0,0 +1,19 @@
+double d;
+
+__inline__ double foo (void)
+{
+  return d;
+}
+
+__inline__ int bar (void)
+{
+  foo();
+  return 0;
+}
+
+int main (void)
+{
+  if (bar ())
+    abort ();
+  exit (0);
+}