OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/36628
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr33839.C
1
// { dg-options -std=c++0x }
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
}