| 1 |
// PR c++/114947 |
| 2 |
// { dg-additional-options "-fmodules-ts -std=c++20" } |
| 3 |
// { dg-module-cmi M:part } |
| 4 |
module M:part; |
| 5 |
|
| 6 |
template <typename> struct R {}; |
| 7 |
template <typename T> requires false struct R<T> {}; |
| 8 |
template <typename T> requires true struct R<T>; |