aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/ddoc14633.d
blob: 759287cfecfe112177524b36aceef65b597cceb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// PERMUTE_ARGS:
// REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -w -o-

/*
TEST_OUTPUT:
---
---
*/

/** Blah
 Params:
    T = some type
    test = something
    overnext = for testing overloaded functions
*/
template case1(T)
{
  void case1(R)(R test) { }
  void case1(R)(R test, string overnext) { }
}

///ditto
alias case2 = case1!int;