1 // RUN: %clang_cc1 -fsyntax-only -verify %s
8 label1
: // expected-note{{previous definition is here}}
10 goto label2
; // expected-error{{use of undeclared label 'label2'}}
12 label1
: // expected-error{{redefinition of label 'label1'}}
22 default:; // expected-error{{multiple default labels in one switch}}
23 default:; // expected-note{{previous case defined here}}