projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* gdb.python/py-shared.exp: New file, factored out from
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.cp
/
gdb1355.cc
diff --git
a/gdb/testsuite/gdb.cp/gdb1355.cc
b/gdb/testsuite/gdb.cp/gdb1355.cc
index a53ca20e4d5f63d7418cc411830bcbcb4f7588b5..51e625f1449cac84f651057013868643c4e90c3c 100644
(file)
--- a/
gdb/testsuite/gdb.cp/gdb1355.cc
+++ b/
gdb/testsuite/gdb.cp/gdb1355.cc
@@
-31,5
+31,6
@@
struct mystruct s1 =
int main ()
{
- return 0;
+ /* Reference s1 so that it is included. */
+ return s1.m_int - 117;
}