Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
3b5b92ab39388bb180097f3234fde9239532af4c
/
.
/
test
/
CodeGenCXX
/
PR4983-constructor-conversion.cpp
blob: 797a1baa49e0d7e588a7f01c7158691425a3a2ae [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm-only %s
struct
A
{
A
(
const
char
*
s
){}
};
struct
B
{
A a
;
B
()
:
a
(
"test"
)
{
}
};
void
f
()
{
A a
(
"test"
);
}