summaryrefslogtreecommitdiff
path: root/tests/headers/repr-align.hpp
blob: 3347594b5c1e576b8e21a72c3cd755e9a2e9e04b (plain)
1
2
3
4
5
6
7
8
9
10
11
// bindgen-flags: --raw-line '#![cfg(feature = "nightly")]' --rust-target 1.25 -- -std=c++11

struct alignas(8) a {
  int b;
  int c;
};

struct alignas(double) b {
  int b;
  int c;
};