| 1 |
// { dg-additional-options {-Wno-pedantic -fpreprocessed -fdirectives-only -fdump-lang-module-lineno-vops -fmodules-ts} } |
| 2 |
module ; |
| 3 |
|
| 4 |
# 4 "inc_b" 1 |
| 5 |
#define _GLIBCXX_VISIBILITY(V) __attribute__ ((__visibility__ (#V))) |
| 6 |
#define _GLIBCXX_BEGIN_NAMESPACE_VERSION |
| 7 |
namespace std _GLIBCXX_VISIBILITY(default) |
| 8 |
{ |
| 9 |
_GLIBCXX_BEGIN_NAMESPACE_VERSION |
| 10 |
} |
| 11 |
# 11 "" 2 |
| 12 |
|
| 13 |
export module hello; |
| 14 |
export import :format; |
| 15 |
// { dg-module-cmi hello } |
| 16 |
|
| 17 |
// { dg-final { scan-lang-dump { Macro maps:0 locs:0} module } } |
| 18 |
// { dg-final { scan-lang-dump-not { Macro:. _GLIBCXX_VISIBILITY} module } } |