blob: f29eebd1a7fb133ce3770cbdc880056be68b8d2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// PR c++/114275
// { dg-additional-options "-fmodules-ts -Wno-global-module" }
// { dg-module-cmi M }
module;
template <typename... _Elements> struct T;
template <typename H> struct T<H> {
template <typename...> friend struct T;
};
export module M;
export template <typename=void> void fun() { T<int> t; }
|