testsuite: C++ module tests
[gcc.git] / gcc / testsuite / g++.dg / modules / tpl-spec-5_b.C
1 // { dg-additional-options {-fmodules-ts -fdump-lang-module-alias} }
2
3 import TPL;
4
5 int main ()
6 {
7 X<int,2> q;
8
9 q.ary[0] = 5;
10
11 X<float,1> p;
12 p.scalar = 4.0f;
13
14 return 0;
15 }
16
17 // { dg-final { scan-lang-dump {Reading 1 pending specializations keyed to TPL\[0\] '::template X@TPL:.'} module } }