blob: 8c1e4baa26788a90a799f07a2c20066c2bb0607e [file] [log] [blame]
// PR c++/84611
template<typename = int>
struct a {
a() {
struct c;
try {
} catch (struct c {}) { // { dg-error "types may not be defined|conflicting" }
}
}
};
struct d {
d();
a<> b;
};
d::d() {}