xref: /llvm-project/clang/test/Modules/Inputs/macro-ambiguity/a/system/a_system.h (revision c2132d8f3325ba4dbaa0ee87567f479e9aa9e425)
1*c2132d8fSChandler Carruth #ifndef A_SYSTEM_H
2*c2132d8fSChandler Carruth #define A_SYSTEM_H
3*c2132d8fSChandler Carruth 
4*c2132d8fSChandler Carruth // FIXME: We have to use this to mark the header as a system header in
5*c2132d8fSChandler Carruth // a module because header search didn't actually occur and so we can't have
6*c2132d8fSChandler Carruth // found the header via system header search, even though when we map to this
7*c2132d8fSChandler Carruth // header and load the module we will have mapped to the header by finding it
8*c2132d8fSChandler Carruth // via system header search.
9*c2132d8fSChandler Carruth #pragma GCC system_header
10*c2132d8fSChandler Carruth 
11*c2132d8fSChandler Carruth #define FOO1_SYSTEM(x) x + x
12*c2132d8fSChandler Carruth #define BAR1_SYSTEM(x) x + x
13*c2132d8fSChandler Carruth #define BAZ1_SYSTEM(x) x + x
14*c2132d8fSChandler Carruth 
15*c2132d8fSChandler Carruth #endif
16