diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/macro-exp-tracking-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/macro-exp-tracking-1.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/macro-exp-tracking-1.c b/gcc/testsuite/gcc.dg/cpp/macro-exp-tracking-1.c index d975c8cee97..28ef7955c9b 100644 --- a/gcc/testsuite/gcc.dg/cpp/macro-exp-tracking-1.c +++ b/gcc/testsuite/gcc.dg/cpp/macro-exp-tracking-1.c @@ -6,16 +6,14 @@ #define OPERATE(OPRD1, OPRT, OPRD2) \ do \ { \ - OPRD1 OPRT OPRD2; /* { dg-message "expansion" }*/ \ + OPRD1 OPRT OPRD2; /* { dg-message "definition" }*/ \ } while (0) #define SHIFTL(A,B) \ - OPERATE (A,<<,B) /* { dg-message "expanded|expansion" } */ + OPERATE (A,<<,B) /* { dg-error "invalid operands" } */ void foo () { - SHIFTL (0.1,0.2); /* { dg-message "expanded" } */ + SHIFTL (0.1,0.2); /* { dg-message "in expansion of macro \[^\n\r\]SHIFTL" } */ } - -/* { dg-error "invalid operands" "" { target *-*-* } 13 } */ |