summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/33049-pp-pragma.cpp
blob: 2c013b084957e574f8e618417b1506a20039cf63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
}