☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
parse
/
crash68.C
☽
☼
gcc/testsuite/g++.dg/parse/crash68.C
code
plain
raw
1
// PR c++/84611
2
3
template<typename = int>
4
struct a {
5
a() {
6
struct c;
7
try {
8
} catch (struct c {}) { // { dg-error "types may not be defined|conflicting" }
9
}
10
}
11
};
12
13
struct d {
14
d();
15
a<> b;
16
};
17
18
d::d() {}