2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr22231.c
blob2107006844ac5564868bb9d1d14dd206317c090d
1 /* Test case for PR 22231. -c and -MG are invalid together. */
3 /* { dg-do compile } */
4 /* { dg-options "-MG -MD -c" } */
5 /* { dg-error "may only be used with -M" "-MG incompatible with -c" { target *-*-* } 0 } */
7 int anything;