repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash8.C
blob
b68cfcb44408b3602877eb961f364bcadbc9d646
1
// { dg-do compile }
2
3
// Origin: David Robinson <drtr@dial.pipex.com>
4
5
// PR c++/11513: ICE due to incorrect decision whether the tag is template.
6
7
template <typename T>
8
struct bar
9
{
10
struct foo
11
{
12
int a;
13
};
14
15
template <typename U>
16
void wom(U c)
17
{
18
struct foo b;
19
}
20
};