Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
bracket5.C
blob: 22ac5445c55334350e6e39e346c045a02a07390c [
file
] [
log
] [
blame
]
// { dg-options "-Wall" }
// { dg-do compile { target c++11 } }
template
<int>
struct
X
{};
template
<typename>
struct
Y
{
static
int
const
c
=
0
;
};
int
main
()
{
return
Y
<
X
<
1
>>::
c
;
}