mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-02 18:53:22 +00:00
16 lines
212 B
C
16 lines
212 B
C
/* PR c/64824 */
|
|
/* { dg-do run } */
|
|
|
|
int
|
|
main ()
|
|
{
|
|
long long a;
|
|
long long b = 1LL;
|
|
int c = 3;
|
|
#pragma omp atomic capture
|
|
a = b = c << b;
|
|
if (b != 6LL || a != 6LL)
|
|
__builtin_abort ();
|
|
return 0;
|
|
}
|