aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/runnable/link8023.d
blob: d4c32cbaa8e164b3568ca40675bfa3a2bebee874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// COMPILE_SEPARATELY
// EXTRA_SOURCES: imports/link8023b.d
// PERMUTE_ARGS: -inline -release

import imports.link8023b;

private void t(alias Code)()
{
  return Code();
}

void f()
{
  t!( () { } )();
}

void main() {
  f();
}