summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cpp/30095-bug_485.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cpp/30095-bug_485.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cpp/30095-bug_485.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cpp/30095-bug_485.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cpp/30095-bug_485.cpp
new file mode 100644
index 00000000..b5e7842c
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cpp/30095-bug_485.cpp
@@ -0,0 +1,20 @@
+void Tst::test(Msg *message_p)
+{
+ switch (message_p)
+ {
+ case A:
+ {
+ const table *entry2 = findMsg(message_p);
+ table *entry3 = findMsg(message_p);
+ }
+ break;
+
+ case B:
+ const table *entry2 = findMsg(message_p);
+ table *entry3 = findMsg(message_p);
+ break;
+
+ default:
+ break;
+ }
+}