Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype11.C
blob: 9fa8e230fcb12d7c9cd38450c24c58fd63e4f11d [
file
] [
log
] [
blame
]
// PR c++/35316
// { dg-do compile { target c++11 } }
template
<int>
struct
A
{
int
i
:
2
;
void
foo
()
{
decltype
(
i
)
j
;
}
};