| 1 | // RUN: %clang_cc1 -std=c++17 -fmodules-ts %s |
|---|---|
| 2 | |
| 3 | typedef struct { |
| 4 | int c; |
| 5 | union { |
| 6 | int n; |
| 7 | char c[4]; |
| 8 | } v; |
| 9 | } mbstate; |
| 10 | |
| 11 | export module M; |
| 12 | export using ::mbstate; |
| 13 |
| 1 | // RUN: %clang_cc1 -std=c++17 -fmodules-ts %s |
|---|---|
| 2 | |
| 3 | typedef struct { |
| 4 | int c; |
| 5 | union { |
| 6 | int n; |
| 7 | char c[4]; |
| 8 | } v; |
| 9 | } mbstate; |
| 10 | |
| 11 | export module M; |
| 12 | export using ::mbstate; |
| 13 |