Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype-call2.C
blob: ad2322090e2b7dd83f540d90e92d5fd90219e7ee [
file
] [
log
] [
blame
]
// PR c++/52748
// We don't want to instantiate A<T> here.
// { dg-require-effective-target c++11 }
template
<
class
T
>
struct
A
:
T
{
};
template
<
class
T
>
A
<
T
>
f
(
T
);
decltype
(
f
(
42
))
*
p
;