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++/54858
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash24.C
1
// PR c++/17826
2
3
struct A
4
{
5
template<typename> static int foo();
6
};
7
8
template<int> struct B {};
9
10
template<typename T> void bar()
11
{
12
B<sizeof A::foo<T>()> b1;
13
B<sizeof A::foo<T>()> b2;
14
}