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-tidy][use-internal-linkage]fix false positives for global overloaded operator...
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
conversion-operator-base.cpp
blob
e62e225a201fc20f55bda4a8caa3ea7a2e95b761
1
// RUN: %clang_cc1 -emit-llvm-only %s -verify
2
// expected-no-diagnostics
3
// PR5730
4
5
struct
A
{
operator
int
();
float
y
; };
6
struct
B
:
A
{
double
z
; };
7
void
a
() {
switch
(
B
()) {} }
8