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
/
decltype10.C
blob
846d0bf57cf2aac18f4d3145e6d4121a38d731ee
1
// PR c++/34271
2
// { dg-do compile { target c++11 } }
3
4
template<int> struct A
5
{
6
static int i;
7
};
8
9
template<int N> int A<N>::i(decltype (A::i; // { dg-error "expected primary-expression before" }