blob: 0ad49088ad15c7fccd4a75f334aba26c75e7b17d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// PR c++/65579
// { dg-do link { target c++11 } }
template <typename>
struct S {
int i;
};
struct T {
static constexpr S<int> s = { 1 };
};
int main()
{
return T::s.i;
}
|