annotate clang/test/Sema/recover-goto.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children c4bab56944e8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -fsyntax-only %s -verify
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 void a() { // expected-note {{to match this '{'}}
anatofuz
parents:
diff changeset
4 goto A; // expected-error {{use of undeclared label}}
anatofuz
parents:
diff changeset
5 // expected-error {{expected '}'}}