S/390: Deprecate g5 and g6 CPU levels
[official-gcc.git] / gcc / testsuite / g++.dg / gomp / tpl-parallel-1.C
blob886d07e215b1979c6150fa9256989c67fb1b1715
1 // { dg-do compile }
3 int check;
5 template<typename T> void foo()
7   check |= sizeof(T);
10 template<typename T>
11 void bar(void)
13   #pragma omp parallel if (0)
14     foo<T>();
17 int main()
19   bar<char>();
20   bar<short>();
21   if (check != (sizeof(char) | sizeof(short)))
22     __builtin_trap ();
23   return 0;