Debian Codegraph @

gcc/testsuite/g++.dg/modules/ttp-3_b.C

raw
1 // { dg-additional-options -fmodules-ts }
2 module foo;
3
4
5 template <typename> class Y;
6
7 static_assert (sizeof (TPL<Y<char>, Y>::type) == 1);
8 static_assert (sizeof (TPL<Y<int>, Y>::type) != 1, "where's my specialization?");