1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/FrontendC++/member-alignment.cpp

21 lines
268 B
C++
Raw Normal View History

// RUN: %llvmgxx -S %s -o - | FileCheck %s
// XFAIL: arm,powerpc
// rdar://7268289
class t {
public:
virtual void foo(void);
void bar(void);
};
void
t::bar(void) {
// CHECK: _ZN1t3barEv{{.*}} align 2
}
void
t::foo(void) {
2009-10-02 08:50:50 +02:00
// CHECK: _ZN1t3fooEv{{.*}} align 2
}