summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00069-vb-pp.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00069-vb-pp.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00069-vb-pp.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00069-vb-pp.c b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00069-vb-pp.c
new file mode 100644
index 00000000..9fb79a06
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00069-vb-pp.c
@@ -0,0 +1,49 @@
+
+void f()
+{
+ if (0)
+#pragma omp atomic
+ {
+ i++;
+ }
+}
+
+
+void f()
+{
+ if (0)
+#if foo
+ {
+ i++;
+ }
+#else
+ {
+ i += 2;
+ }
+#endif
+}
+
+void f()
+{
+ while (108)
+ {
+ if (42)
+#pragma omp critical
+ { }
+ if (23)
+#pragma omp critical
+ {
+ ++i;
+ }
+ while (16)
+ {
+ }
+ int i = 15;
+ if (8)
+#pragma omp atomic
+ {
+ i += 4;
+ }
+ }
+}
+