summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/c/vb-pp.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/c/vb-pp.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/c/vb-pp.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/c/vb-pp.c b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/c/vb-pp.c
new file mode 100644
index 00000000..5ea209c5
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/c/vb-pp.c
@@ -0,0 +1,35 @@
+
+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;
+}
+}
+