OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/52685
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
complit2.C
1
// PR c++/31038
2
// { dg-options "" }
3
4
template<int> void foo()
5
{
6
int i = (int) { 0 };
7
}
8
9
template void foo<0>();
10
int f();
11
12
template<int> void bar()
13
{
14
int i = (int) { f() };
15
}
16
17
template void bar<0>();