aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-7.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/c-c++-common/Wimplicit-fallthrough-7.c')
-rw-r--r--gcc/testsuite/c-c++-common/Wimplicit-fallthrough-7.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-7.c b/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-7.c
index e03b09b..df8ae35 100644
--- a/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-7.c
+++ b/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-7.c
@@ -21,8 +21,8 @@ f (int i)
switch (i)
{
case 1:
- { /* { dg-warning "statement may fall through" "" { target c } 24 } */
- int a[i]; /* { dg-warning "statement may fall through" "" { target c++ } 25 } */
+ { /* { dg-warning "statement may fall through" "" { target c } . } */
+ int a[i]; /* { dg-warning "statement may fall through" "" { target c++ } . } */
}
case 2:
bar (99);
@@ -31,8 +31,8 @@ f (int i)
switch (i)
{
case 1:
- for (int j = 0; j < 10; j++) /* { dg-warning "statement may fall through" "" { target c } 34 } */
- map[j] = j; /* { dg-warning "statement may fall through" "" { target c++ } 35 } */
+ for (int j = 0; j < 10; j++) /* { dg-warning "statement may fall through" "" { target c } . } */
+ map[j] = j; /* { dg-warning "statement may fall through" "" { target c++ } . } */
case 2:
bar (99);
}