aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-06-22 17:01:59 +0200
committerhjk <qthjk@ovi.com>2011-06-22 16:58:31 +0200
commitb48ad322ebaa04e33d90caac83ffb17e7f78ece7 (patch)
tree1d4120914c7885f0fa1aef772375b29692fe57e7 /tests
parentda44fb4342b9630b57c928fe7523b4c4cc07c358 (diff)
debugger: add manual test for QTCREATORBUG-5046
Task-number: QTCREATORBUG-5046 Change-Id: I1b823b6c46ecff81db56e961565a120b8f6b58b6 Reviewed-on: http://codereview.qt.nokia.com/629 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp b/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp
index a2beccd8b0f..28b8e0c7ac2 100644
--- a/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp
+++ b/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp
@@ -2725,6 +2725,23 @@ namespace bug4904 {
} // namespace bug4904
+namespace bug5046 {
+
+ // http://bugreports.qt.nokia.com/browse/QTCREATORBUG-5046
+
+ struct Foo { int a, b, c; };
+
+ void test5046()
+ {
+ Foo f;
+ f.a = 1;
+ f.a = 2;
+ f.a = 3;
+ }
+
+} // namespace bug5046
+
+
namespace bug5106 {
// http://bugreports.qt.nokia.com/browse/QTCREATORBUG-5106
@@ -2851,6 +2868,7 @@ namespace qc41700 {
int main(int argc, char *argv[])
{
+ bug5046::test5046();
bug4904::test4904();
qc41700::test41700();
qc42170::test42170();