flang/test/Preprocessing/show-macros1.F90
raw| 1 | ! RUN: %flang -dM -E -o - %s | FileCheck %s |
| 2 | |
| 3 | ! Check the default macros. Omit certain ones such as __LINE__ |
| 4 | ! or __FILE__, or target-specific ones, like __x86_64__. |
| 5 | |
| 6 | ! Macros are printed in the alphabetical order. |
| 7 | |
| 8 | ! CHECK: #define __DATE__ |
| 9 | ! CHECK: #define __TIME__ |
| 10 | ! CHECK: #define __flang__ |
| 11 | ! CHECK: #define __flang_major__ |
| 12 | ! CHECK: #define __flang_minor__ |
| 13 | ! CHECK: #define __flang_patchlevel__ |
| 14 |