Sign in
rust
/
rust-lang
/
llvm-project
/
refs/heads/rustc/12.0-2021-07-10
/
.
/
clang
/
test
/
CodeGenCXX
/
powerpc-byval.cpp
blob: a705bf6f7cabfabf82cb714257a1dd028eeec891 [
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_(%struct.S* %one, %struct.S* %two)