clang/test/Preprocessor/suggest-typoed-directive.S
raw| 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
| 2 | |
| 3 | // expected-no-diagnostics |
| 4 | |
| 5 | #ifdef UNDEFINED |
| 6 | #id |
| 7 | #ifd |
| 8 | #ifde |
| 9 | #elf |
| 10 | #elsif |
| 11 | #elseif |
| 12 | #elfidef |
| 13 | #elfindef |
| 14 | #elfinndef |
| 15 | #els |
| 16 | #endi |
| 17 | #endif |
| 18 | |
| 19 | #ifdef UNDEFINED |
| 20 | # in in order to perform |
| 21 | #endif |
| 22 | |
| 23 | #ifdef UNDEFINED |
| 24 | #i |
| 25 | #endif |
| 26 | |
| 27 | #if special_compiler |
| 28 | #special_compiler_directive |
| 29 | #endif |