summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/include1.c
blob: a0a54e00598c32f56672b86d13704c494b67f231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Copyright (C) 2000 Free Software Foundation, Inc.  */

/* { dg-do preprocess } */

/* Tests that "#include MACRO" works.  */

/* Source: Neil Booth, 29 Oct 2000.  */

#define MACRO "mi1c.h"
#include MACRO
#ifndef CPP_MIC_H
#error #include MACRO does not work
#endif