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
Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git]
/
main
/
gcc
/
testsuite
/
g++.dg
/
debug
/
localclass1.C
blob
85adb3b19721e028d3c5af64fc5c21853da35fcd
1
// PR c++/52637
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-g" }
4
5
template <typename T>
6
struct C { };
7
8
template <typename V>
9
void f(V v) {
10
struct B {};
11
C<B> c;
12
}
13
14
template <typename T>
15
void g(T t) {
16
struct A { } a;
17
f (a);
18
}
19
20
struct D {
21
void h() { g(0); }
22
};