summaryrefslogtreecommitdiff
path: root/clang/test/Sema/default.c
blob: 429e63ae2a67c239a7a13bb2112fcf16c7cbdacb (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -fsyntax-only -verify %s

void f5 (int z) { 
  if (z) 
    default:  // expected-error {{not in switch statement}}
      ;
}