Debian Codegraph @

gcc/testsuite/c-c++-common/ffile-prefix-map.c

raw
1 /* Test __builtin_FILE(). */
2 /* { dg-do run } */
3 /* { dg-options "-ffile-prefix-map==FILE-PREFIX" } */
4
5 #include <stdio.h>
6
7 int main ()
8 {
9 printf ("__builtin_FILE starts with %s\n", __builtin_FILE ());
10 }
11
12 /* { dg-output "__builtin_FILE starts with FILE-PREFIX" } */