testsuite: update mangling
[official-gcc.git] / gcc / testsuite / g++.dg / cpp2a / attr-likely4.C
blob0a96edc3183285eb0399f905845b64848e7ee50a
1 // { dg-do compile { target c++20 } }
3 int a, b, c;
5 void
6 __attribute__((noinline))
7 bar()
9   if (a == 123)
10     [[likely]] c = 5;           // { dg-warning "both" }
11   else
12     [[likely]] b = 77;
15 int main()
17   bar ();
18   return 0;