1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 struct __attribute__((packed
)) {
15 struct __attribute__((packed
)) { // expected-error {{anonymous structs and classes must be class members}}
17 template <typename T
> getOptions() // expected-error {{a type specifier is required for all declarations}}