aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/pr47476.C
blob: bf9a06527878decdf9df4a18cca8c9faa0197e17 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/47476
// { dg-do compile { target c++11 } }

int
foo (int a, int b)
{
  const bool c ((a != 0) == (b != 26));
  return c;
}