[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / gomp / pr26823-2.C
blobd4747cff5e5af150c9a77c3ecc2cc16a3a62eb8b
1 // PR middle-end/26823
2 // { dg-do compile }
4 struct A
6   ~A () {}
7 };
9 extern void bar ();
11 void
12 foo ()
14 #pragma omp parallel
15   {
16     {
17       A a;
18       bar ();
19     }
20     {
21       A a;
22       bar ();
23     }
24     {
25       A a;
26       bar ();
27     }
28   }