gcc/testsuite/c-c++-common/cpp/fmacro-prefix-map.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-fmacro-prefix-map==MACRO-PREFIX" } */ |
| 3 | |
| 4 | #pragma message "FILE starts with " __FILE__ /* { dg-message "FILE starts with MACRO-PREFIX" } */ |
| 5 | #pragma message "BASE_FILE starts with " __BASE_FILE__ /* { dg-message "BASE_FILE starts with MACRO-PREFIX" } */ |