summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/mi8.c
blob: 1999918dea4977c8ed1032d1eea2144ac0ea7936 (plain)
1
2
3
4
5
6
7
8
/* Test multiple include guards suggestions.  */

/* { dg-do preprocess }
   { dg-options "-H" }
   { dg-message "mi8a\.h\n\[^\n\]*mi8c\.h\n\[^\n\]*mi8b\.h\n\[^\n\]*mi8d\.h\nMultiple include guards may be useful for:\n\[^\n\]*mi8a\.h\n\[^\n\]*mi8d\.h\n" "" { target *-*-* } 0 } */

#include "mi8a.h"
#include "mi8b.h"