☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash24.C
☽
☼
gcc/testsuite/g++.dg/template/crash24.C
code
plain
raw
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
}