PR tree-optimization/33562
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / import1.c
blob07130f014c1ee9921d53cf50ec43cb67719e8d0c
1 /* Copyright (C) 2003, 2008 Free Software Foundation, Inc. */
3 /* { dg-do preprocess } */
4 /* { dg-options "-Wno-deprecated" } */
6 /* This tests that our eagerness to apply the multiple include guard
7 optimization to the #import doesn't stop us marking the file
8 once-only.
10 Neil Booth, 2 August 2003. */
12 #include "import1.h"
13 #import "import1.h"
14 #undef IMPORT1_H
15 #define BUG
16 #include "import1.h"