aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/expr/cond13.C
blob: 90ae904a5d61eaeb56f72cd568eb15e3eca6482c (plain)
1
2
3
4
5
6
7
8
9
// PR c++/54348

struct A {} a;
struct B {} b;

void f()
{
    false ? a : b;		// { dg-error "different types" }
}