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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype-33838.C
blob
effe08dcc4bb44e300c6057173878b5ecc7742d6
1
// { dg-do compile { target c++11 } }
2
// PR c++/33838
3
template<typename T> struct A
4
{
5
__decltype (T* foo()); // { dg-error "expected|no arguments|accept" }
6
};