1 #ifndef STRESS1_MERGE00_H
2 #define STRESS1_MERGE00_H
4 // These don't match the imported declarations because we import them from
5 // modules which are built in isolation of the current header's pragma state
6 // much like they are built in isolation of the incoming macro state.
7 // FIXME: We should expect warnings here but we can't because verify doesn't
9 //#pragma weak pragma_weak01 // expected-warning {{weak identifier 'pragma_weak01' never declared}}
10 //#pragma weak pragma_weak04 // expected-warning {{weak identifier 'pragma_waek04' never declared}}
12 #ifdef MERGE_NO_REEXPORT
13 #include "merge_no_reexport.h"
22 inline int g() { return N00::S00('a').method00('b') + (int)S00(42) + function00(42); }
24 // Use implicit special memebers again for S01 to ensure that we merge them in
25 // successfully from m01.
26 inline N00::S01
h() { return N00::S01(); }
28 #pragma weak pragma_weak02
29 #pragma weak pragma_weak05
31 extern "C" int pragma_weak02();