This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git] / test / FrontendC++ / member-alignment.cpp
blobc5b20b279325d27eefab8ace30bfe1effb4c8f1a
1 // RUN: %llvmgxx -S %s -o - | FileCheck %s
2 // XFAIL: arm,powerpc
4 // rdar://7268289
6 class t {
7 public:
8 virtual void foo(void);
9 void bar(void);
12 void
13 t::bar(void) {
14 // CHECK: _ZN1t3barEv{{.*}} align 2
17 void
18 t::foo(void) {
19 // CHECK: _ZN1t3fooEv{{.*}} align 2