| 1 |
// { dg-additional-options "-fmodules-ts" } |
| 2 |
// This sequence is for errors |
| 3 |
|
| 4 |
export module One; |
| 5 |
// { dg-module-cmi "One" } |
| 6 |
|
| 7 |
namespace Bob |
| 8 |
{ |
| 9 |
struct X; |
| 10 |
export struct Y { |
| 11 |
unsigned a; |
| 12 |
unsigned b; |
| 13 |
}; |
| 14 |
} |
| 15 |
|
| 16 |
export void copy (Bob::Y *, const Bob::Y *); |