| 1 |
// PR c++/116496 |
| 2 |
// { dg-additional-options "-fmodules-ts -std=c++20 -Wno-global-module" } |
| 3 |
// { dg-module-cmi A } |
| 4 |
|
| 5 |
module; |
| 6 |
template <typename T> struct S {}; |
| 7 |
export module A; |
| 8 |
template <typename T> struct S<T*> {}; |
| 9 |
template <typename T> requires false struct S<T*> {}; |