1 /* Copyright (C) 2008 Free Software Foundation, Inc. */ 2 3 /* { dg-do preprocess } */ 4 /* { dg-options "-M" } */ 5 6 /* Test that dependency output suppresses warnings by implying -w. */ 7 8 #include "#cmdlne-M-2.h" 9 #include "cmdlne-M-2#.h" 10 11 /* { dg-final { scan-file cmdlne-M-2.i "(^|\\n)cmdlne-M-2.o:" } } 12 { dg-final { scan-file cmdlne-M-2.i "cmdlne-M-2.c" } } 13 { dg-final { scan-file cmdlne-M-2.i "\\\\#cmdlne-M-2.h" } } 14 { dg-final { scan-file cmdlne-M-2.i "cmdlne-M-2\\\\#.h" } } */ 15