diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/33049-pp-pragma.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/33049-pp-pragma.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/33049-pp-pragma.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/33049-pp-pragma.cpp new file mode 100644 index 00000000..2c013b08 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.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; +} |