mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
13 lines
274 B
D
13 lines
274 B
D
// REQUIRED_ARGS: -o-
|
|
// EXTRA_FILES: imports/test10375a.d
|
|
import imports.test10375a;
|
|
|
|
void packIt(Pack)(Pack p){ } //3
|
|
|
|
void main()
|
|
{
|
|
alias p = packIt!(int);
|
|
p(2); // OK <- NG
|
|
packIt(2); // OK <- NG
|
|
packIt!(int)(2); // OK <- NG
|
|
}
|