summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/Issue_3785.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/Issue_3785.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/Issue_3785.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/Issue_3785.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/Issue_3785.cpp
new file mode 100644
index 00000000..90d4b28c
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/Issue_3785.cpp
@@ -0,0 +1,24 @@
+void output_text(FILE *pfile)
+{
+ for (pc = Chunk::GetHead(); pc->IsNotNullChunk(); pc = pc->GetNext())
+ {
+ if (pc->GetTrackingData() != nullptr)
+ {
+ if (many > 1)
+ {
+ }
+#define \
+ EXTRA_LOG_2
+ char *old_one = nullptr;
+ }
+ }
+} // output_text
+
+
+void dump_step(const char *filename, const char *step_description)
+{
+ static int file_num = 0;
+ char buffer[256];
+ FILE *dump_file;
+ fclose(dump_file);
+} // dump_step