Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
a3bfa54f2ad8600fc1bb3d39b37e3cd5469ccbb6
/
.
/
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
}