Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype-33838.C
blob: 43888da548a50210c8907ca78d905bad16e454ff [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// PR c++/33838
template
<
typename
T
>
struct
A
{
__decltype
(
T
*
foo
());
// { dg-error "expected|no arguments|declaration" }
};