[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / gomp / pr37346.C
blobb6619edc515aeecec0eec1afcc010fbcda262a6e
1 // PR c++/37346
2 // { dg-do compile }
3 // { dg-options "-fopenmp" }
5 struct A
7   A ();
8   int i;
9 };
11 A::A ()
13 #pragma omp critical
14   i++;