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++/6057
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype11.C
1
// PR c++/35316
2
// { dg-options "-std=c++0x" }
3
4
template<int> struct A
5
{
6
int i : 2;
7
8
void foo()
9
{
10
decltype(i) j;
11
}
12
};