Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr65072.C
blob: b8fa8885dcff77f19f5307f4cc71e644c313e3ec [
file
] [
log
] [
blame
]
// PR c++/65075
// { dg-do compile { target c++11 } }
// { dg-options "-Wno-pedantic" }
template
<typename>
class
C
{
struct
{
int
i
;
};
auto
operator
*(
const
C m
)
->
decltype
(
m
.
i
);
};
void
fn1
(
const
C
<float>
);
C
<float>
a
;