OSDN Git Service

2011-10-18 Janus Weil <janus@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr22231.c
1 /* Test case for PR 22231.  -c and -MG are invalid together.  */
2
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 } */
6
7 int anything;