diff options
Diffstat (limited to 'clang/test/Sema/switch.c')
-rw-r--r-- | clang/test/Sema/switch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/switch.c b/clang/test/Sema/switch.c index 012c5ecee7d..2dc965f4a0b 100644 --- a/clang/test/Sema/switch.c +++ b/clang/test/Sema/switch.c @@ -295,6 +295,6 @@ int test18() { case A: return 0; case B: return 1; case 7: return 1; // expected-warning {{case value not in enumerated type}} - default: return 2; // expected-warning {{default is unreachable as all enumeration values are accounted for}} + default: return 2; // expected-warning {{default label in switch which covers all enumeration values}} } } |