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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
init1.C
blob
fdbff8d3cb19633ac0bb29b8421486e9b51a7dc3
1
// { dg-do compile }
2
3
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
4
5
// PR c++/9457: ICE tsubst'ing initializers in templates.
6
7
template <typename> void foo (int count) {
8
int i = {count};
9
}
10
template void foo<int> (int);