]>
git.proxmox.com Git - rustc.git/blob - src/llvm/tools/clang/test/SemaCXX/statements.cpp
1 // RUN: %clang_cc1 %s -fsyntax-only -pedantic -verify
7 // PR6451 - C++ Jump checking
13 goto later
; // expected-error {{goto into protected scope}}
14 X x
; // expected-note {{jump bypasses variable initialization}}
21 void a() { goto out
; A x
; out
: return; }