diff options
author | Alexander Kornienko <alexfh@google.com> | 2013-04-02 17:55:01 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2013-04-02 17:55:01 +0000 |
commit | 8b0822b3043f91a113d39da7aa9bb0634db69807 (patch) | |
tree | 9a32ab9e1fde61e75357f887e8ddbf96c60fa29f /test/SemaCXX/switch-implicit-fallthrough-regression.cpp | |
parent | cb428a1ac09dddf5ed3bf2a740f9ea31e9e11037 (diff) |
Moved fallthrough regression test to switch-implicit-fallthrough.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178554 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/switch-implicit-fallthrough-regression.cpp')
-rw-r--r-- | test/SemaCXX/switch-implicit-fallthrough-regression.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/test/SemaCXX/switch-implicit-fallthrough-regression.cpp b/test/SemaCXX/switch-implicit-fallthrough-regression.cpp deleted file mode 100644 index aec3769e00..0000000000 --- a/test/SemaCXX/switch-implicit-fallthrough-regression.cpp +++ /dev/null @@ -1,17 +0,0 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 -Wimplicit-fallthrough %s - -void f() { - class C { - void f(int x) { - switch (x) { - case 0: - x++; - [[clang::fallthrough]]; // expected-no-diagnostics - case 1: - x++; - break; - } - } - }; -} - |