Clang errors out on:
```cpp
[[gnu::always_inline]] inline int f(); 
[[gsl::Pointer(int)]] struct S{};

```
with:
```
error: misplaced attributes; expected attributes here
    3 | [[gsl::Pointer(int)]] struct S{};
      | ~~~~~~~~~~~~~~~~~~~~~       ^
      |                             [[gsl::Pointer(int)]]
1 error generated.
```

where gcc happily accepts it.

I think we should support that case to improve consistency across different C++ entities which support attributes at that position.
Clang rejects standard attributes on tags
This is a GitHub Issue
repo:llvm-project
owner:llvm
Title : Clang rejects standard attributes on tags
Issue date:

--- start body ---
Clang errors out on:
```cpp
[[gnu::always_inline]] inline int f(); 
[[gsl::Pointer(int)]] struct S{};

```
with:
```
error: misplaced attributes; expected attributes here
    3 | [[gsl::Pointer(int)]] struct S{};
      | ~~~~~~~~~~~~~~~~~~~~~       ^
      |                             [[gsl::Pointer(int)]]
1 error generated.
```

where gcc happily accepts it.

I think we should support that case to improve consistency across different C++ entities which support attributes at that position.
--- end body ---
