aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr95284.C
blob: 3c273ef8d55332da603a401336604716db93d599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do compile }
// { dg-require-effective-target lp64 }

#include <algorithm>

short a;
unsigned long long c;
char d;
unsigned e;

void f()
{
  for (;;)
    for (char b = 0; b < 19; b += 2)
      a = std::min((1 ? d : 0) ? e : c, (unsigned long long)72252803048);
}