llvm-for-llvmta/tools/clang/test/Parser/annotation-token-in-lexed-b...

6 lines
259 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
struct S { // expected-note{{to match this}}
void f() { // expected-note{{to match this}}
// expected-error@+1{{expected '}'}} expected-error@+1{{expected '}'}} expected-error@+1{{expected ';'}}
#pragma pack()