repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype67.C
blob
f3bf9a24b04289da14c75a7baec538e748ced432
1
// PR c++/85279
2
// { dg-do compile { target c++11 } }
3
4
template<typename T> struct A
5
{
6
void foo(decltype(T())::Y); // { dg-error "decltype\\(T\\(\\)\\)::Y" "" { target c++17_down } }
7
};