Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype67.C
blob: f3bf9a24b04289da14c75a7baec538e748ced432 [
file
] [
log
] [
blame
]
// PR c++/85279
// { dg-do compile { target c++11 } }
template
<
typename
T
>
struct
A
{
void
foo
(
decltype
(
T
())::
Y
);
// { dg-error "decltype\\(T\\(\\)\\)::Y" "" { target c++17_down } }
};