gcc/testsuite/g++.dg/modules/attrib-3_a.H
raw| 1 | // PR c++/118920 |
| 2 | // { dg-additional-options "-fmodule-header" } |
| 3 | // { dg-module-cmi {} } |
| 4 | |
| 5 | struct [[gnu::abi_tag("a", "b")]] A; |
| 6 | struct [[gnu::abi_tag("a", "b")]] B; |
| 7 | struct [[gnu::abi_tag("c")]] C; |
| 8 | struct D; |
| 9 | struct E; |
| 10 | |
| 11 | [[gnu::abi_tag("f")]] void f(); |
| 12 | void g(); |
| 13 | [[gnu::abi_tag("x", "y")]] void h(); |
| 14 | |
| 15 | [[gnu::abi_tag("test", "some", "more")]] extern int i; |
| 16 | [[gnu::abi_tag("test", "some", "more")]] extern int j; |