summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/cpp/fmacro-prefix-map.c
blob: 43dc4bb287e36280f32d104a8faee8175b4b2277 (plain)
1
2
3
4
5
/* { dg-do compile } */
/* { dg-options "-fmacro-prefix-map==MACRO-PREFIX" } */

#pragma message "FILE starts with " __FILE__       /* { dg-message "FILE starts with MACRO-PREFIX" } */
#pragma message "BASE_FILE starts with " __BASE_FILE__  /* { dg-message "BASE_FILE starts with MACRO-PREFIX" } */