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