1 // { dg-do compile { target c++2a } }
2 
3 int a, b, c;
4 
5 void
6 __attribute__((noinline))
bar()7 bar()
8 {
9   if (a == 123)
10     [[likely]] c = 5;		// { dg-warning "both" }
11   else
12     [[likely]] b = 77;
13 }
14 
main()15 int main()
16 {
17   bar ();
18   return 0;
19 }
20