aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/headermap-1.c
blob: aac0257df63f08c98362784c1f38690d22cca8d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* APPLE LOCAL file headermaps */
/* Copyright (C) 2005 Free Software Foundation, Inc.  */

/* { dg-do compile { target powerpc*-*-darwin* } } */
/* This test is ppc specific, as the headermap binary was generated for ppc.  */
/* { 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