Sign in
llvm
/
llvm-project
/
clang
/
refs/heads/main
/
.
/
test
/
CodeGenCXX
/
powerpc-byval.cpp
blob: 1f0488b2a81f7191e4cb07762fac4c59d2e25280 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm %s -o - -triple=powerpc-unknown-linux | FileCheck %s
struct
S
{
S
();
~
S
();
};
void
byval
(
S one
,
S two
)
{
one
=
two
;
}
// CHECK: define{{.*}} void @_Z5byval1SS_(ptr noundef %one, ptr noundef %two)