Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;