mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
17 lines
313 B
D
17 lines
313 B
D
// PERMUTE_ARGS:
|
|
// REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -w -o-
|
|
|
|
/** 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;
|