aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/headermap-2.c
blob: 68e4690c4755792d41ba29c22b25eda6ab1066ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 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> /* { dg-warning "mismatched case" } */
#include <Ba.h>  /* { dg-warning "mismatched case" } */
#include <C.h>  /* { dg-warning "mismatched case" } */
#import <c.h>

#if COUNT != 4
  #error COUNT not 4 in headermap-d21
#endif