default.c 146 B

12345678
  1. // RUN: %clang_cc1 -fsyntax-only -verify %s
  2. void f5 (int z) {
  3. if (z)
  4. default: // expected-error {{not in switch statement}}
  5. ;
  6. }