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

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