summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.martin/conv1.C
blob: 552e47b46b6a591aa25f0a0b9e2608ad26dbda50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do run  }
struct S{
  operator bool()
  {
    return true;
  }
};

int main()
{
  S a;
  if (S &b = a);
}