repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr33839.C
blob
50bcfe81cf5a6424d635960342a2db2d263b67a5
1
// { dg-do compile { target c++11 } }
2
template<int> struct A;
3
4
void foo()
5
{
6
__decltype A<0>; // { dg-error "invalid declarator|expected" }
7
__decltype (A<0>); // { dg-error "must be an expression" }
8
}