PR c++/52637
[official-gcc.git] / gcc / testsuite / g++.dg / debug / localclass1.C
blobdb36d592cf524fd5c844b427fffd68b805295afb
1 // PR c++/52637
2 // { dg-options "-g -std=c++11" }
4 template <typename T>
5 struct C { };
7 template <typename V>
8 void f(V v) {
9   struct B {};
10   C<B> c;
13 template <typename T>
14 void g(T t) {
15   struct A { } a;
16   f (a);
19 struct D {
20   void h() { g(0); }