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
/
pr30731.cpp
blob
36da43fe29b08ae6ffd21df7767b179f47e42def
1
// RUN: %clang_cc1 -triple i386-pc-win32 -emit-llvm -flto -std=c++11 -o - %s | FileCheck %s
2
3
struct
A
{
4
virtual
~
A
();
5
};
6
7
struct
B
{};
8
9
struct
C
{
10
virtual
void
f
();
11
};
12
13
struct
S
:
A
,
virtual
B
,
C
{
14
void
f
()
override
;
15
};
16
17
void
f
(
S
*
s
) {
s
->
f
(); }
18
19
// CHECK-LABEL: define dso_local void @"?f@@YAXPAUS@@@Z"
20
// CHECK: call
21
// CHECK: ret void