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