repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs.
[llvm/zpu.git]
/
test
/
FrontendC++
/
member-alignment.cpp
blob
6afc0aaede1ced295591eef95428c6cdb51a4a4c
1
// RUN: %llvmgxx -S -emit-llvm %s -o - | FileCheck %s
2
// XFAIL: arm,powerpc
3
4
// rdar://7268289
5
6
class
t
{
7
public
:
8
virtual
void
foo
(
void
);
9
void
bar
(
void
);
10
};
11
12
void
13
t
::
bar
(
void
) {
14
// CHECK: _ZN1t3barEv{{.*}} align 2
15
}
16
17
void
18
t
::
foo
(
void
) {
19
// CHECK: _ZN1t3fooEv{{.*}} align 2
20
}