diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:11:37 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:11:37 +0000 |
commit | 461a67fa15370a9ec88f8f8a240bf7c123bb2029 (patch) | |
tree | 6942083d7d56bba40ec790a453ca58ad3baf6832 /test/Modules/anon-linkage.cpp | |
parent | 75c3240472ba6ac2669ee72ca67eb72d4e2851fc (diff) |
Diffstat (limited to 'test/Modules/anon-linkage.cpp')
-rw-r--r-- | test/Modules/anon-linkage.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Modules/anon-linkage.cpp b/test/Modules/anon-linkage.cpp new file mode 100644 index 0000000000000..590638292b5e9 --- /dev/null +++ b/test/Modules/anon-linkage.cpp @@ -0,0 +1,12 @@ +// RUN: %clang_cc1 -std=c++17 -fmodules-ts %s + +typedef struct { + int c; + union { + int n; + char c[4]; + } v; +} mbstate; + +export module M; +export using ::mbstate; |