blob: d97c23fa0348710a7d8ee87c1f1c248a1444acb4 [file] [log] [blame]
/* Copyright 2007 Free Software Foundation, Inc.
Contributed by Ollie Wild <aaw@google.com>. */
/* { dg-do preprocess } */
/* { dg-options "-fdirectives-only -H" } */
/* { dg-error "dir-only-3a\.h\n\[^\n\]*dir-only-3b\.h\n\[^\n\]*dir-only-3a\.h\n" "include guard check" { target *-*-* } 0 } */
/* Tests include guards. */
#include "dir-only-3a.h"
#include "dir-only-3b.h"
#include "dir-only-3b.h"
#include "dir-only-3a.h"