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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr79296.C
blob
1ee982c71f0456bdf1c5907e5d959f9c5ae1ffe5
1
// { dg-do compile { target c++11 } }
2
// { dg-require-effective-target lto }
3
// { dg-additional-options "-flto" }
4
5
// PR 79296 ICE mangling local class of localized instantiation
6
7
struct X {
8
template <typename T> X (T const *) {
9
struct Z {};
10
}
11
};
12
13
void Baz ()
14
{
15
struct Y { } y;
16
17
0, X (&y);
18
}