diff options
author | hjk <qtc-committer@nokia.com> | 2011-11-03 19:19:10 +0100 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2011-11-03 19:22:12 +0100 |
commit | dbc84d8c1c56a35ef5220e32b4e27880d141901f (patch) | |
tree | 3837788d15b52f8c8b83a0983935e7c86bb05a6f /tests | |
parent | 2f9ff18e750ec51c5d46752c5c2d14e2a03e2885 (diff) | |
download | qt-creator-dbc84d8c1c56a35ef5220e32b4e27880d141901f.tar.gz |
debugger: workaround for http://sourceware.org/bugzilla/show_bug.cgi?id=13380
Task-number: QTCREATORBUG-6465
Change-Id: I98894cbd247b53e18b86ec997b9087d1f2d511f3
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/manual/debugger/simple/simple_test_app.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/manual/debugger/simple/simple_test_app.cpp b/tests/manual/debugger/simple/simple_test_app.cpp index ce3afcbbf9..4680d71fc4 100644 --- a/tests/manual/debugger/simple/simple_test_app.cpp +++ b/tests/manual/debugger/simple/simple_test_app.cpp @@ -3651,6 +3651,22 @@ namespace cp42895 { } // namespace cp +namespace bug6465 { + + // https://bugreports.qt.nokia.com/browse/QTCREATORBUG-6465 + + void test6465() + { + typedef char Foo[20]; + Foo foo = "foo"; + char bar[20] = "baz"; + // BREAK HERE + dummyStatement(&foo, &bar); + } + +} // namespace bug6465 + + namespace varargs { void test(const char *format, ...) @@ -3814,6 +3830,7 @@ int main(int argc, char *argv[]) bug5106::test5106(); bug5184::test5184(); bug5799::test5799(); + bug6465::test6465(); application::testApplicationStart(argc, argv); |