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