summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr22231.c
blob: e87943588bc794ec872d09d9aed221b8b029c1ec (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;