Sign in
ara-mdk
/
platform
/
external
/
clang
/
c90cc9374f18396251760b9fe6468fd1232e9f0e
/
.
/
test
/
CodeGenCXX
/
member-alignment.cpp
blob: 78026d4e0419cad069c7039a7de61a4f4654ab24 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
// rdar://7268289
class
t
{
public
:
virtual
void
foo
(
void
);
void
bar
(
void
);
};
void
t
::
bar
(
void
)
{
// CHECK: _ZN1t3barEv{{.*}} align 2
}
void
t
::
foo
(
void
)
{
// CHECK: _ZN1t3fooEv{{.*}} align 2
}