summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/bug_i_575.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/bug_i_575.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/bug_i_575.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/bug_i_575.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/bug_i_575.cpp
new file mode 100644
index 00000000..3ef21f1f
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/bug_i_575.cpp
@@ -0,0 +1,8 @@
+void Foo::doo()
+{
+ m_stackCache[m_currentStackNr]->operator [](0) = new QStandardItem(QString::number(m_currentStackNr));
+ m_stackCache[m_currentStackNr]->operator [](1) = new QStandardItem(tr("OK"));
+ m_stackCache[m_currentStackNr]->operator [](2) = new QStandardItem("0");
+ m_stackCache[m_currentStackNr]->operator [](3) = new QStandardItem("0");
+ m_stackCache[m_currentStackNr]->operator [](4) = new QStandardItem();
+}