summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/cpp/33049-pp-pragma.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/cpp/33049-pp-pragma.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/cpp/33049-pp-pragma.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/cpp/33049-pp-pragma.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/cpp/33049-pp-pragma.cpp
new file mode 100644
index 00000000..2c013b08
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/cpp/33049-pp-pragma.cpp
@@ -0,0 +1,21 @@
+#include <stdio.h>
+int main(int argc, char** argv)
+{
+ #ifdef DEBUG
+ #define FORMAT "argc=%d\n"
+ std::printf(FORMAT,argc);
+ #undef FORMAT
+ #endif DEBUG
+ #ifdef _OPENMP
+ #pragma omp parallel
+ {
+ printf("Hello from thread!\n");
+ }
+ #endif
+
+ #pragma CoverageScanner(cov-off)
+ __pragma( CoverageScanner(cov-off) )
+ _Pragma( CoverageScanner(cov-off) )
+
+ return 0;
+}