mirror of git://gcc.gnu.org/git/gcc.git
re PR c++/52637 (ICE producing debug info for c++11 code using local class as template argument)
PR c++/52637 * g++.dg/debug/localclass1.C: New. From-SVN: r188814
This commit is contained in:
parent
6830e502a2
commit
0a337ebd0a
|
|
@ -1,3 +1,8 @@
|
|||
2012-06-19 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/52637
|
||||
* g++.dg/debug/localclass1.C: New.
|
||||
|
||||
2012-06-16 Ville Voutilainen <ville.voutilainen@gmail.com>
|
||||
|
||||
* g++.dg/cpp0x/override4.C: New.
|
||||
|
|
|
|||
|
|
@ -0,0 +1,21 @@
|
|||
// PR c++/52637
|
||||
// { dg-options "-g -std=c++11" }
|
||||
|
||||
template <typename T>
|
||||
struct C { };
|
||||
|
||||
template <typename V>
|
||||
void f(V v) {
|
||||
struct B {};
|
||||
C<B> c;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
void g(T t) {
|
||||
struct A { } a;
|
||||
f (a);
|
||||
}
|
||||
|
||||
struct D {
|
||||
void h() { g(0); }
|
||||
};
|
||||
Loading…
Reference in New Issue