Implement pahole-like 'ptype /o' option
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / code_elim2.c
index d9e945ad14da0b3d7f401b34294e9a24f66efd14..fd311ed10515900605ac28977a92e03f09a7fcc1 100644 (file)
@@ -1,6 +1,6 @@
 /* This testcase is part of GDB, the GNU debugger.
 
-   Copyright 2010, 2011 Free Software Foundation, Inc.
+   Copyright 2010-2017 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -19,12 +19,6 @@ int my_global_symbol = 42;
 
 static int my_static_symbol;
 
-int
-main ()
-{
-  return my_global_func ();
-}
-
 int
 my_global_func ()
 {
@@ -32,3 +26,9 @@ my_global_func ()
   my_global_symbol = my_static_symbol + my_global_symbol;
   return my_global_symbol;
 }
+
+int
+main ()
+{
+  return my_global_func ();
+}
This page took 0.0268 seconds and 4 git commands to generate.