Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
access01.C
blob: 55c951f97d6023b88041b9baea6a9ea8448269bd [
file
] [
log
] [
blame
]
// PR c++/49042
// { dg-do compile { target c++11 } }
template
<
class
T
>
class
A
{
T p
;
public
:
template
<
class
U
>
auto
f
()
->
decltype
(+
p
)
{
}
};
int
main
()
{
A
<int>
().
f
<int>
();
}