summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr22231.c
blob: 2107006844ac5564868bb9d1d14dd206317c090d (plain)
1
2
3
4
5
6
7
/* Test case for PR 22231.  -c and -MG are invalid together.  */

/* { dg-do compile } */
/* { dg-options "-MG -MD -c" } */
/* { dg-error "may only be used with -M" "-MG incompatible with -c" { target *-*-* } 0 } */

int anything;