diff options
Diffstat (limited to 'clang/test/Sema/switch.c')
| -rw-r--r-- | clang/test/Sema/switch.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/Sema/switch.c b/clang/test/Sema/switch.c index 213cd0a75be..e63a1942bba 100644 --- a/clang/test/Sema/switch.c +++ b/clang/test/Sema/switch.c @@ -254,3 +254,10 @@ int test14(int a) { } return 0; } + +void f1(unsigned x) { + switch (x) { + case -1: break; + default: break; + } +} |

