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" } }