repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-template4.C
blob
ff8dc7e932bc9d137ec1f9f422f575c1b412e2ae
1
// PR c++/57887
2
// { dg-do compile { target c++11 } }
3
4
struct B
5
{
6
template<int N>
7
struct A
8
{
9
int X = N;
10
};
11
};
12
13
template<int M>
14
struct C
15
{
16
int Y = M;
17
18
template<int N>
19
struct A
20
{
21
int X = N;
22
int Y = M;
23
};
24
};