projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
C++ member functions must be 2 byte aligned per ABI.
[oota-llvm.git]
/
test
/
FrontendC++
/
member-alignment.cpp
1
// RUN: %llvmgxx -S -emit-llvm %s -o - | FileCheck %s
2
3
// rdar://7268289
4
5
class t {
6
public:
7
virtual void foo(void);
8
void bar(void);
9
};
10
11
void
12
t::bar(void) {
13
// CHECK: _ZN1t3barEv{{.*}} align 2
14
}
15
16
void
17
t::foo(void) {
18
// CHECK: _ZN1t3fooEv{.*}} align 2
19
}