summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/bug_i_478.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/bug_i_478.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/bug_i_478.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/bug_i_478.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/bug_i_478.cpp
new file mode 100644
index 00000000..857d48f7
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/bug_i_478.cpp
@@ -0,0 +1,24 @@
+{
+QString fileName = QFileDialog::getOpenFileName(this,
+tr("Choose Configuration File"), ui->leStrategyFile->text(),
+tr("Configuration Files (*.cfg);; All Files (*.*)"), 0);
+
+pSettings = new QSettings(QCoreApplication::applicationDirPath() + "/" +
+QCoreApplication::applicationName() + ".ini",
+QSettings::IniFormat);
+}
+int a ()
+{
+ double a_very_long_variable = test (foobar1,
+ foobar5);
+
+ double a_other_very_long = asdfasdfasdfasdfasdf + asdfasfafasdfa +
+ asdfasdfasdf - asdfasdf + 56598;
+
+ a_other_very_long = asdfasdfasdfasdfasdf + asdfasfafasdfa +
+ asdfasdfasdf - asdfasdf + 56598;
+
+ testadsfa (dfasdf,
+ aaafsdfa);
+ return 0;
+}