| 1 |
// { dg-additional-options -fmodules-ts } |
| 2 |
|
| 3 |
export module foo; |
| 4 |
// { dg-module-cmi foo } |
| 5 |
|
| 6 |
export struct pthread_attr_t |
| 7 |
// guess where this came from? |
| 8 |
{ |
| 9 |
int m; |
| 10 |
}; |
| 11 |
typedef struct pthread_attr_t pthread_attr_t; |
| 12 |
|
| 13 |
struct bob |
| 14 |
{ |
| 15 |
}; |
| 16 |
export typedef struct bob bob; |