summaryrefslogtreecommitdiffstats
path: root/compilerplugins/clang/test/dodgyswitch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/test/dodgyswitch.cxx')
-rw-r--r--compilerplugins/clang/test/dodgyswitch.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/test/dodgyswitch.cxx b/compilerplugins/clang/test/dodgyswitch.cxx
index 3a61ed388c2b..826971d27811 100644
--- a/compilerplugins/clang/test/dodgyswitch.cxx
+++ b/compilerplugins/clang/test/dodgyswitch.cxx
@@ -16,7 +16,7 @@ int main() {
{
case 1: { break; }
case 2: {
- SAL_FALLTHROUGH;
+ [[fallthrough]];
{
case 3: // expected-error {{case statement not directly under switch [loplugin:dodgyswitch]}}
break;