aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test10375.d
blob: b9704f6a24466ead31bde9edb3e50efacecc3d68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// REQUIRED_ARGS: -o-

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
}