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
[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
PR5050-constructor-conversion.cpp
blob
ce6cc0e846e2075c0841df658001e8f79742ed11
1
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -emit-llvm %s -o - | \
2
// RUN: FileCheck %s
3
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -emit-llvm %s -o - | \
4
// RUN: FileCheck %s
5
6
struct
A
{
A
(
const
A
&,
int
i1
=
1
); };
7
8
struct
B
:
A
{ };
9
10
A
f
(
const
B
&
b
) {
11
return
b
;
12
}
13
14
// CHECK: call void @_ZN1AC1ERKS_i