* gdb.python/py-shared.exp: New file, factored out from
[binutils-gdb.git] / gdb / testsuite / gdb.cp / gdb1355.cc
index a53ca20e4d5f63d7418cc411830bcbcb4f7588b5..51e625f1449cac84f651057013868643c4e90c3c 100644 (file)
@@ -31,5 +31,6 @@ struct mystruct s1 =
 
 int main ()
 {
-  return 0;
+  /* Reference s1 so that it is included.  */
+  return s1.m_int - 117;
 }