aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/fmacro-prefix-map.c
blob: db51587cb4f7e33ebf83f09465acf4e8ac4c01bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Test __builtin_FILE(). */
/* { dg-do run } */
/* { dg-options "-fmacro-prefix-map==MACRO-PREFIX" } */

#include <stdio.h>

int main ()
{
  printf ("__builtin_FILE starts with %s\n", __builtin_FILE ());
}

/* { dg-output "__builtin_FILE starts with MACRO-PREFIX" } */