1 // RUN: %clang_cc1 -std=c23 -fsyntax-only -verify %s
3 _Alignas(int) struct c1
; // expected-warning {{'_Alignas' attribute ignored}}
5 // FIXME: `alignas` enters into C++ parsing code and never reaches the
6 // declaration specifier attribute diagnostic infrastructure.
8 // Fixing this will require the C23 notions of `alignas` being a keyword and
9 // `_Alignas` being an alternate spelling integrated into the parsing
11 alignas(int) struct c1
; // expected-error {{misplaced attributes; expected attributes here}}