aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test22739.d
blob: 6aeb5d60fd78085afeb0b0686defc946a2052089 (plain)
1
2
3
4
5
6
7
8
9
10
// https://issues.dlang.org/show_bug.cgi?id=22739

extern(C++) auto f(T)()
{
    return T.init;
}
void main()
{
    f!int;
}