summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/cmdlne-M.c
blob: 4eb6407cdd0c0e0af67ad9baf41066a36ba51a08 (plain)
1
2
3
4
5
6
7
8
/* Copyright (C) 2002 Free Software Foundation, Inc.  */

/* { dg-do preprocess } */
/* { dg-options "-M" } */

/* Test that dependency output suppresses warnings by implying -w.  */

#warning bogus /* { dg-bogus "warning" "warning not suppressed" } */