Sign in
ara-mdk
/
platform
/
external
/
clang
/
f3260565f46491a0d99e41d47a13767218242ce5
/
.
/
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
}