1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fsyntax-only -verify %s 2*f4a2713aSLionel Sambuc f5(int z)3*f4a2713aSLionel Sambucvoid f5 (int z) { 4*f4a2713aSLionel Sambuc if (z) 5*f4a2713aSLionel Sambuc default: // expected-error {{not in switch statement}} 6*f4a2713aSLionel Sambuc ; 7*f4a2713aSLionel Sambuc } 8*f4a2713aSLionel Sambuc 9