1 2 3 4 5 6 7 8 9 10 11 12
inline void foo() {} int main() { foo(); #pragma omp parallel for for ( int i=0; i<1; ++i ) foo(); return 0; }