summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/overload/cond2.C
blob: cbcdc6ed038fc74b9d0b1972e8a819d04b27bd54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct C
{
  operator int();
};

struct D
{
  operator int();
};

int main()
{
  C c; D d;
  true ? c : d;
}