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