Debian Codegraph @

gcc/testsuite/gdc.test/compilable/test19713.d

raw
1 extern (C++)
2 {
3 double twice(double d)
4 {
5 return d * 2;
6 }
7
8 void* createFunction(R)(R function(double));
9 }
10
11 void main()
12 {
13 const f = createFunction(&twice);
14 }