mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-22 04:55:50 -04:00

Don't crash if the last token in a bad inline method body is an annotation token. llvm-svn: 232694
6 lines
259 B
C++
6 lines
259 B
C++
// 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()
|