| 1 |
// https://issues.dlang.org/show_bug.cgi?id=23789 |
| 2 |
|
| 3 |
struct __declspec(align(64)) M128A { |
| 4 |
char c; |
| 5 |
}; |
| 6 |
|
| 7 |
typedef struct __declspec(align(32)) _M128B { |
| 8 |
int x; |
| 9 |
} M128B, *PM128A; |
| 10 |
|
| 11 |
|
| 12 |
void testpl(p) |
| 13 |
struct __declspec(align(2)) S *p; |
| 14 |
{ |
| 15 |
} |
| 16 |
|
| 17 |
///// |
| 18 |
|
| 19 |
struct __attribute__((aligned(64))) N128A { |
| 20 |
char c; |
| 21 |
}; |
| 22 |
|
| 23 |
typedef struct __attribute__((aligned(32))) _N128B { |
| 24 |
int x; |
| 25 |
} N128B, *PN128A; |
| 26 |
|
| 27 |
|
| 28 |
void testpl2(p) |
| 29 |
struct __attribute__((aligned(2))) S *p; |
| 30 |
{ |
| 31 |
} |