xref: /llvm-project/clang/test/Preprocessor/multiple-inclusion-opt.h (revision d7354fb63471a7a38993280c8264fd8d57432dc7)
1*d7354fb6SElliot Goodrich # // null directive and comments before include guard
2*d7354fb6SElliot Goodrich 
3*d7354fb6SElliot Goodrich #ifndef MULTIPLE_INCLUSION_OPT
4*d7354fb6SElliot Goodrich 
5*d7354fb6SElliot Goodrich int foo();
6*d7354fb6SElliot Goodrich 
7*d7354fb6SElliot Goodrich // The position of the define should not matter
8*d7354fb6SElliot Goodrich #define MULTIPLE_INCLUSION_OPT
9*d7354fb6SElliot Goodrich 
10*d7354fb6SElliot Goodrich int bar();
11*d7354fb6SElliot Goodrich 
12*d7354fb6SElliot Goodrich #endif
13*d7354fb6SElliot Goodrich 
14*d7354fb6SElliot Goodrich #
15*d7354fb6SElliot Goodrich #
16*d7354fb6SElliot Goodrich /* Two null directives
17*d7354fb6SElliot Goodrich    and a multiline comment
18*d7354fb6SElliot Goodrich    after the #endif */
19