Debian Codegraph @

gcc/testsuite/g++.dg/lookup/pr84970.C

raw
1 // PR c++/84970 ICE with deferred initializer
2
3 namespace bob {
4 void a();
5 }
6 using namespace bob;
7
8 void a (int);
9
10 template <typename b>
11 void *x (b)
12 {
13 void (*c)(b) (a);
14
15 return (void *)c;
16 }
17
18 void d () {
19 x (1);
20 }
21