summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cast-pretty-print-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/cast-pretty-print-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/cast-pretty-print-1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/cast-pretty-print-1.c b/gcc/testsuite/gcc.dg/cast-pretty-print-1.c
index e5ecec1a096..b9da56674dd 100644
--- a/gcc/testsuite/gcc.dg/cast-pretty-print-1.c
+++ b/gcc/testsuite/gcc.dg/cast-pretty-print-1.c
@@ -7,6 +7,6 @@ int i;
void
f (void)
{
- ((unsigned int)i)(); /* { dg-error "error: called object '\\(unsigned int\\)i' is not a function" } */
- ((char)i)(); /* { dg-error "error: called object '\\(char\\)i' is not a function" } */
+ ((unsigned int)i)(); /* { dg-error "called object '\\(unsigned int\\)i' is not a function" } */
+ ((char)i)(); /* { dg-error "called object '\\(char\\)i' is not a function" } */
}