]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.python/py-symbol.c
2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.python / py-symbol.c
index 4c1c26df58b526d617319ae68fe84770d51a58a9..8c6cdb113755012c9b8252b85b3c0e4da57e539b 100644 (file)
@@ -44,6 +44,11 @@ int func (int arg)
   return arg; /* Block break here.  */
 }
 
+struct simple_struct
+{
+  int a;
+};
+
 int main (int argc, char *argv[])
 {
 #ifdef __cplusplus
@@ -51,6 +56,7 @@ int main (int argc, char *argv[])
 #endif
   int a = 0;
   int result;
+  struct simple_struct ss = { 10 };
   enum tag {one, two, three};
   enum tag t = one;