xref: /llvm-project/lldb/test/API/lang/cpp/gmodules/alignment/pch.h (revision 07ffb7e294767b74e43f90e9ab3d713da929b907)
1 #ifndef PCH_H_IN
2 #define PCH_H_IN
3 
4 static const int kAlignment = 64;
5 
6 struct [[gnu::aligned(kAlignment)]] RowCol {
7   unsigned row;
8   unsigned col;
9 };
10 
11 struct [[gnu::aligned(kAlignment)]] Submatrix {
12   struct RowCol origin;
13   struct RowCol size;
14 };
15 
16 struct [[gnu::aligned(kAlignment)]] MatrixData {
17   struct Submatrix section;
18   unsigned stride;
19 };
20 
21 #endif // _H_IN
22