summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/plugin/location-overflow-test-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/plugin/location-overflow-test-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/plugin/location-overflow-test-1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/plugin/location-overflow-test-1.c b/gcc/testsuite/gcc.dg/plugin/location-overflow-test-1.c
index 7983c035862..1a80a668a0f 100644
--- a/gcc/testsuite/gcc.dg/plugin/location-overflow-test-1.c
+++ b/gcc/testsuite/gcc.dg/plugin/location-overflow-test-1.c
@@ -5,7 +5,7 @@
numbers are available. */
/* Verify that we're in column-less mode. */
-extern unknown_type test; /* { dg-error "0: unknown type name" } */
+extern unknown_type test; /* { dg-error "-:unknown type name" } */
/* PR c++/68819: verify that -Wmisleading-indentation is suppressed. */
@@ -13,7 +13,7 @@ int
fn_1 (int flag)
{
int x = 4, y = 5;
- if (flag) x = 3; y = 2; /* { dg-message "disabled from this point" } */
+ if (flag) x = 3; y = 2; /* { dg-message "-:disabled from this point" } */
return x * y;
}