diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/headermap-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/headermap-1.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/headermap-1.c b/gcc/testsuite/gcc.dg/cpp/headermap-1.c new file mode 100644 index 00000000000..bb8e1f4cd2c --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/headermap-1.c @@ -0,0 +1,17 @@ +/* APPLE LOCAL file headermaps */ +/* Copyright (C) 2005 Free Software Foundation, Inc. */ + +/* { dg-do compile } */ +/* { dg-options "-I $srcdir/gcc.dg/cpp/headermap.hmap" } */ + +#define COUNT 1 +#include <A.h> +#include <bA.h> +#include <c.h> +#import <d.h> +#import <d.h> +#import <A.h> + +#if COUNT != 5 + #error COUNT not 5 in headermap-1 +#endif |