summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/cond6.C
blob: e4cede35b176cc89b15a80e2a4e3e078f43a8bfe (plain)
1
2
3
4
5
6
// PR c++/27801

template<int> int foo(int i)
{
  return !( (1 && i) ? 0 : 1 );
}