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
simulate-thread tests: Silence gdb debuginfod warning
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-list6.C
blob
83ab2e106ca51200fd3c28f3a2b04232f70c2565
1
// PR c++/90455
2
// { dg-do compile { target c++11 } }
3
4
struct B;
5
template <typename a> struct b {
6
void operator()(a *) { sizeof(a); }
7
};
8
struct c {
9
struct D {
10
using d = B *;
11
};
12
13
using e = D::d;
14
e f();
15
};
16
template <typename> class g {
17
c h;
18
using i = b<B>;
19
public:
20
~g() {
21
auto j = h.f();
22
k()(j);
23
}
24
i k();
25
};
26
struct l {
27
g<int> m{};
28
};