* gcc.dg/cpp/defined.c, include1.c, paste11.c, skipping.c: New tests. * gcc.dg/cpp/macsyntx.c: Move test to defined.c. * gcc.dg/cpp/mi3.c, mi3.h: New test for over-enthusiastic optimisation. From-SVN: r37126
14 lines
269 B
C
14 lines
269 B
C
/* 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
|