aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/cpp/embed-5.c
blob: 0b9a96ba94f3db76f7cedc1473b020f04330b34f (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do preprocess } */
/* { dg-options "" } */

#undef FOOBAR
#embed __FILE__ prefix (#include <non-existent-file.h>) suffix (#define FOOBAR baz) if_empty (#error "abcd")
#embed __FILE__ __prefix__(#define FOOBAR baz)
#ifdef FOOBAR
#error "FOOBAR is defined"
#endif