Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;
}