Imported Upstream version 7.9
[platform/upstream/gdb.git] / gdb / testsuite / gdb.base / advance.c
index 8066dee..ab86b0e 100644 (file)
@@ -13,15 +13,15 @@ int bar (int y)
   return z;
 }
 
-void func()
+int func2 ()
 {
-  x = x + 5;
-  func2 ();
+  x = 6;
 }
 
-int func2 ()
+void func()
 {
-  x = 6;
+  x = x + 5;
+  func2 ();
 }
 
 int func3 ()