repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Teach TreeTransform how to transform a pack expansion type into
[clang.git]
/
test
/
CodeGenCXX
/
conversion-operator-base.cpp
blob
8fbeadf14916aa1ebd939fe60132ec9efb5cf213
1
// RUN: %clang_cc1 -emit-llvm-only %s -verify
2
// PR5730
3
4
struct
A
{
operator
int
();
float
y
; };
5
struct
B
:
A
{
double
z
; };
6
void
a
() {
switch
(
B
()) {} }
7