repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
PR4983-constructor-conversion.cpp
blob
797a1baa49e0d7e588a7f01c7158691425a3a2ae
1
// RUN: %clang_cc1 -emit-llvm-only %s
2
3
struct
A
{
4
A
(
const char
*
s
){}
5
};
6
7
struct
B
{
8
A a
;
9
10
B
() :
a
(
"test"
) { }
11
};
12
13
void
f
() {
14
A
a
(
"test"
);
15
}
16