Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
714179b179a31a0c3769a968ee18ba87b901b13f
/
.
/
test
/
CodeGenCXX
/
default-arg-temps.cpp
blob: 2dcf773346a87516add29e4523be05669d23939d [
file
] [
log
] [
blame
]
// RUN: clang-cc -emit-llvm %s -o %t -triple=x86_64-apple-darwin9 &&
struct
T
{
T
();
~
T
();
};
void
f
(
const
T
&
t
=
T
());
void
g
()
{
// RUN: grep "call void @_ZN1TC1Ev" %t | count 2 &&
// RUN: grep "call void @_ZN1TD1Ev" %t | count 2
f
();
f
();
}