8sa1-gcc/gcc/testsuite/gcc.dg/cpp/include1.c
Neil Booth 9f6ef6bcaf defined.c, [...]: New tests.
* 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
2000-10-29 17:43:57 +00:00

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