| 1 |
// { dg-additional-options "-fmodules-ts" } |
| 2 |
|
| 3 |
import M; |
| 4 |
|
| 5 |
int main() { |
| 6 |
A a; |
| 7 |
|
| 8 |
// Check all specialisations are correctly exported |
| 9 |
B<void> b; |
| 10 |
B<int>::foo b1; |
| 11 |
B<int*>::bar b2; |
| 12 |
|
| 13 |
C c; |
| 14 |
|
| 15 |
auto d = D; |
| 16 |
|
| 17 |
#if __cpp_concepts >= 201907L |
| 18 |
auto e = E<void>; |
| 19 |
#endif |
| 20 |
} |