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
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype11.C
blob
9fa8e230fcb12d7c9cd38450c24c58fd63e4f11d
1
// PR c++/35316
2
// { dg-do compile { target c++11 } }
3
4
template<int> struct A
5
{
6
int i : 2;
7
8
void foo()
9
{
10
decltype(i) j;
11
}
12
};